• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Install J2SE 1.5

 
Anand Bala
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed j2se 1.5 in my machine. I think, tt updated the path & callpath information in the registry. I also have j2se 1.4.2 in my machine. I want to use both.

I looked at the environment varibale, it's all set the 1.4.2. But the current version of java being used in 1.5.

Could someone let me know, how to switch and work on both the versions.
[ August 11, 2005: Message edited by: Anand Bala ]
 
Richard Anderson
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have an environment variable called "JAVA_HOME"? If not, create one, and assign it the value of the path to the Java installation you want to use. Then in your PATH variable, add %JAVA_HOME%\bin.

That should work.

..... crossing fingers
 
Marilyn de Queiroz
Sheriff
Posts: 9067
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the easiest way to be able to use both is to make a couple of bat files. One bat file sets the PATH to version 1.4 and the other one sets the PATH to 1.5.
 
Anand Bala
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have JAVA_HOME variable pointing to java 1.4.2.

May be I will try with bat file option. Let'z see how that works.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic