wood burning stoves 2.0*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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