SET JAVAHOME=%JDKThen refer to %JAVA_HOME%\bin\java.exe and %JAVA_HOME%\bin\javac.exe in all your *.bat files.
Capture and restore the state of the registry and the C:\WINNT\system32\ files. The idea is you capture the state of a JVM just after it is installed. You can the get back there, no matter what strange stuff has happened to the files or the registry. Once you have captured various configurations, you can restore whichever one you want. This is good protection even if you don’t plan to switch JVMs (Java Virtual Machines) on the fly.
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 -versionUse javac.exe -version to verify you have the version of the compiler you thought you did. javaw.exe and javaws.exe don’t have a -version option, but once you get java.exe working the others are usually correct to. Unfortunately, older JDK Javac.exe does not support -version. I asked Sun to add support for it and they did.
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 (Internet Explorer) 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).
This page is posted |
http://mindprod.com/jgloss/flipping.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\flipping.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[3.137.214.16] |
| |
Feedback |
You are visitor number | |