wood burning stoves*
The moose likes Beginning Java and the fly likes JRE version control Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JRE version control" Watch "JRE version control" New topic
Author

JRE version control

Monty Ireland
Ranch Hand

Joined: Oct 03, 2000
Posts: 161
I made a big mistake by deleteing java from portions of the windows registry.
Now I need to fool windows and run one of three JRE versions.
How can I do this?
Any on-line documentations would be greatly appreciated.
TIA


Multi Platform Database Developer & DBA on E.S.T.
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Make a bat file for each version that you may want to run. In this file define the path and classpath that you want to use right then.
Of course you will have to run one of these bat files EVERY time you start a session - but it does let you control which JRE that you are using.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JRE version control
 
Similar Threads
tray icon is not displaying
Change JRE
Applet cache
Eclipse/WSAD 5.1.1
How does java -version work without setting path to java\bin