M
Mark Sizzler
I have currently 2 java installation on my hard disc:
D:\java\v1.5
and
D:\project\test\jdk\v1.6
The environment variables JAVA_HOME and PATH point to the second java installations
mentioned above.
So when I open a command prompt and enter:
java -version
I got an answer
v1.5
Why??
How is the older java version able to have priority over the one entered in the environment variables?
Is there a way to get the path the the currently used java.exe? Something like
java -showownpath
Mark
D:\java\v1.5
and
D:\project\test\jdk\v1.6
The environment variables JAVA_HOME and PATH point to the second java installations
mentioned above.
So when I open a command prompt and enter:
java -version
I got an answer
v1.5
Why??
How is the older java version able to have priority over the one entered in the environment variables?
Is there a way to get the path the the currently used java.exe? Something like
java -showownpath
Mark