SET JAVAHOME=J:\Program Files\java\jdk1.6.0_07Then refer to %JAVA_HOME%\bin\java.exe and %JAVA_HOME%\bin\javac.exe in all your *.bat files.
The key is, to run a version of the JVM, the registry must be set up to point to it, and its java.exe, javaw.exe and javaws.exe must be in the C:\winnt\system32 directory as the first version encountered on the path. They can then use the registry to find the other related files.
java.exe -versionUnfortunately javac.exe does not have a -version option, but you can get to recognize the different versions by what they display when you type javac -X. javaw.exe and javaws.exe don’t have a -version option either, but once you get java.exe working the others are usually correct to.
I have found Opera will use the latest JVM installed, then later flip to track to the Java console when you turn off support for IE and Mozilla and then turn it back on again.
In Internet Explorer, you enable Java with: Tools ⇒ Internet Options ⇒ Advanced ⇒ Java Sun ⇒ Use Java (pick JRE).
![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.62] | The information on this page is for non-military use only. | ||
| You are visitor number 18,492. | Military use includes use by defence contractors. | ||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) | ||
| http://mindprod.com/jgloss/flipping.html | J:\mindprod\jgloss\flipping.html | ||