Arc Forumnew | comments | leaders | submitlogin
1 point by rocketnia 4347 days ago | link | parent

What does "java -version" tell you?

I'm guessing you still have the JRE version in your path, even if you also have the SDK. I'm always wrestling with the automatic JRE updater changing my path to point to the JRE version. :-p



1 point by jsgrahamus 4347 days ago | link

  C:\Users\Steve>java -version
  java version "1.7.0_04"
  Java(TM) SE Runtime Environment (build 1.7.0_04-b22)
  Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode, sharing)

  C:\Users\Steve>

-----

1 point by rocketnia 4347 days ago | link

Yeah, that's the JRE....

I'd look at your PATH and JAVA_HOME environment variables. If they refer to a JRE directory, change that to the JDK directory. Then start a new shell and see if "java -version" has changed.

In the meantime, if you manually invoke the full path to your JDK's java.exe with the -version option, you can see if that one's even a server VM to begin with. :-p If it isn't, maybe try "C:\...\java.exe -server -version" to be sure.

-----

1 point by jsgrahamus 4346 days ago | link

Thanks, Rocketnia. That did the trick.

Steve

-----