views:

237

answers:

4

I primarily use JDeveloper 10 with JDK 1.4.2 on Vista. I would like to install Eclipse and have it run the latest JDK 6.

Is this possible without conflict?

Ideally I would like to just use JDeveloper and switch back/forth between JDK versions. Is this possible?

+3  A: 

It is indeed possible, you can have as many JDKs in system as you wish. Just install them into different directories, then you can add a new JDK to your IDE (they support having multiple).

You can choose one on per-project basis.

alamar
Indeed - I have all the latest updates of Java 2, 3, 4, 5 and 6 installed, and a codebase that compiles each package to differing JDK versions (e.g. my GUI programs target Java 6, but others might target Java 3, while all core library packages target Java 2).
Software Monkey
A: 

Sure, this is no problem.

Bruno Ranschaert
+1  A: 

I am not sure with JDeveloper 10, but in eclipse you can specify which installed JDK you wish you use under window>preferences>Java>Installed JREs.

Rich Kroll
A: 

If you select project properties in Eclipse, then Java Build Path, you can choose a different JRE to use when building the project.

bm212