This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line! See this thread for details.
How about creating different user profiles to login into. You could install 1.3 for one and 1.4 for the other. If you need to work on the same project using different Java versions you could use a central CVS repository and check out the source into the two different users' profiles and build them. (but haven't tried it myself...yet) Ah you said JRE - well the same applies I guess. -Barry [ December 19, 2002: Message edited by: Barry Gaunt ]
I use jsdk1.4 and jsdk1.3 alternativlely bye having a variable $JAVA_HOME and my PATH as PATH=$PATH:$JAVA_HOME/bin So when I wan to switch I update the env variable
posted 17 years ago
Hi,Barry Gaunt. I tried what your say, but it still worked in JRE1.4. I found these register key in my register. [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment] "CurrentVersion"="1.4" [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.3.1_04] "JavaHome"="D:\\Program Files\\JavaSoft\\JRE\\1.3.1_04" "MicroVersion"="1" "RuntimeLib"="D:\\Program Files\\JavaSoft\\JRE\\1.3.1_04\\bin\\hotspot\\jvm.dll" [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.4] "JavaHome"="D:\\Program Files\\Java\\j2re1.4.1_01" "MicroVersion"="1" "RuntimeLib"="D:\\Program Files\\Java\\j2re1.4.1_01\\bin\\client\\jvm.dll" The root is HKEY_LOCAL_MACHINE, that means all of my computer's user can use them. So, I tried to modified the key "CurrentVersion" to "1.3" or "1.3.1_04" but it still worked in JRE 1.4. Can you tell me an other way for my trouble? thanks.
The last JRE you installed as the "system" JRE probably put a java.exe file in you windows system folder (e.g., C:\WinNT\system32). If you use some other means to get the java.exe file in the PATH (perhaps as suggested by Zkr Ryz), you should be able to remove the java.exe from system32. As I recall, the install program for some JREs give you the option of not making the JRE being installed the "system" JRE.
In the renaissance, how big were the dinosaurs? Did you have tiny ads?