GeeCON Prague 2014*
The moose likes Beginning Java and the fly likes Is it possible to run multiple Java versions on two drives? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Is it possible to run multiple Java versions on two drives?" Watch "Is it possible to run multiple Java versions on two drives?" New topic
Author

Is it possible to run multiple Java versions on two drives?

sanj raj
Greenhorn

Joined: Nov 12, 2001
Posts: 2
Hello,
I have two drives C and D.
I've just installed IBM WebSphere Commerce Suite (version 4.1) which uses java version 1.7.1. on my D drive which I will be using for development purposes for my company.
Can I also install the latest java version 1.7.1 on my C drive for general Java Development?
will there be a conflict between the two versions? If so have can i get around any problems?
What will the classpath setting be?
Many Thanks
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
I have 4 different versions of java loaded on my D drive.
I also keep 4 different .bat files that I use to set the path and classpath to the appropriate version on the fly.
I have never noticed any problem with it.


"JavaRanch, where the deer and the Certified play" - David O'Meara
sanj raj
Greenhorn

Joined: Nov 12, 2001
Posts: 2
hi cindy
Thanks for your post.
Where and how in the jdk folders do you assign the different .bat file to the different jdk version?
Look forward to hearing from you
Many thanks
 
GeeCON Prague 2014
 
subject: Is it possible to run multiple Java versions on two drives?