Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JRE version control

 
Monty Ireland
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic