Reputation: 99
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?
Upvotes: 6
Views: 5444
Reputation: 6802
You can specify the JRE for Eclipse to run under with the -vm
command line switch or in eclipse.ini. e.g. -vm "%JAVA_HOME%/bin/javaw.exe"
You can specify the JRE for executed code via the Window:Preferences:Java:Installed JREs menu.
Upvotes: 1
Reputation: 1439
If you select project properties in Eclipse, then Java Build Path, you can choose a different JDK to use when building the project.
Upvotes: -1
Reputation: 4005
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.
Upvotes: 2
Reputation: 19343
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.
Upvotes: 6