Skip to main content

Can I install JDK 1.6 on machine where 1.5 installed?

1 reply [Last post]
Joined: 2003-06-11


Currently I have JDK 1.5 installed. My programs are working fine.

I wish to start installing JDK 1.6. However since it is still developing, I want to maintain 1.5 version, in case something happened.

Is it possible to have two versions in one machine? How to differentiate in using these versions?

Or is it I have to decide to totally switch to 1.6?

Apologies, if I sound like lack of confidence. I just want to make sure.


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2004-09-02

That's what I've been doing to my JDK 1.3.1_17, JDK5u6 and Mustang since....

You can differentiate by specifying the various JDK / JRE path settings in various applications.

Since the most recent installed version on my WinXP system is Mustang (updated weekly), so the double-click default is Mustang's JRE. But if you don't want it then don't install the Mustang JRE at all - you can choose that in the installation screen.