Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java SE6 with Java1.4  RSS feed

 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have Java 1.4 already in the system.....and am using it for developement...

I would like to install javaSe6 and try it...

Are there any configuration to be done so that they dont conflict and my development would still be smooth in 1.4

Regards
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What operating system are you using?
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
usually no.
Under Windows you'll have to remove java.exe and javac.exe (and probably javaws.exe) from your windows/system32 directory though, or you won't be able to set which JDK to use from the system path.
On other OSs I've never encountered something like that in the installation.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16028
87
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can have multiple versions of Java on your system with no problems at all. In fact, I have three versions of Java on my computer: 1.4.2, 5.0 and 6.0.

Ofcourse you have to take care that when you run a program that requires a specific Java version that you use the correct version, but that's not too difficult.
 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What operating system are you using?

Windows 2000


Ofcourse you have to take care that when you run a program that requires a specific Java version that you use the correct version, but that's not too difficult.


But my question is how??
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37230
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After you install Java 6, take it out of your system PATH environment variable. This will allow everything to still use Java 1.4.

Then when you want to use Java 6, type in the full path.
 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jeanne !!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!