Hi all, I Want to run both java 1.2 and java 1.5 at the same time. for this I need to set the environment variable JAVA_HOME, but can I set it for both and path for both??? If I do so, how to I know if I use javac which version is running???
But, I got some applications on, my machine which uses 1.2 ver., I want to work on 1.5. My Idea was not to disturb the existing application. So, as per your advise I should toggle with the JAVA_HOME path when ever I want to work on 1.5. and set back to 1.2 Home when I was to work with the existing applications. Am I correct!!!
If you have scripts which start the current application, then modify the script to call the proper java command (directrly out of the jdk/jre directory, and use -cp to set the classpath. In this manner you can run both versions at the same time without a problem.
If I had asked people what they wanted, they would have said faster horses - Ford. Tiny ad: