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.
我主要在Vista上使用JDeveloper 10和JDK 1.4.2。我想安装Eclipse并让它运行最新的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?
理想情况下,我想使用JDeveloper并在JDK版本之间来回切换。这可能吗?
4 个解决方案
#1
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).
确实可以,你可以在系统中拥有尽可能多的JDK。只需将它们安装到不同的目录中,然后就可以在IDE中添加新的JDK(它们支持多个)。
You can choose one on per-project basis.
您可以按项目选择一个。
#2
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.
我不确定JDeveloper 10,但在eclipse中,您可以在窗口>首选项> Java>已安装的JRE下指定您希望使用的已安装JDK。
#3
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"
您可以使用-vm命令行开关或eclipse.ini指定Eclipse的JRE。例如-vm“%JAVA_HOME%/ bin / javaw.exe”
You can specify the JRE for executed code via the Window:Preferences:Java:Installed JREs menu.
您可以通过Window:Preferences:Java:Installed JREs菜单为执行的代码指定JRE。
#4
If you select project properties in Eclipse, then Java Build Path, you can choose a different JDK to use when building the project.
如果在Eclipse中选择项目属性,然后选择Java Build Path,则可以选择在构建项目时使用的其他JDK。
#1
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).
确实可以,你可以在系统中拥有尽可能多的JDK。只需将它们安装到不同的目录中,然后就可以在IDE中添加新的JDK(它们支持多个)。
You can choose one on per-project basis.
您可以按项目选择一个。
#2
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.
我不确定JDeveloper 10,但在eclipse中,您可以在窗口>首选项> Java>已安装的JRE下指定您希望使用的已安装JDK。
#3
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"
您可以使用-vm命令行开关或eclipse.ini指定Eclipse的JRE。例如-vm“%JAVA_HOME%/ bin / javaw.exe”
You can specify the JRE for executed code via the Window:Preferences:Java:Installed JREs menu.
您可以通过Window:Preferences:Java:Installed JREs菜单为执行的代码指定JRE。
#4
If you select project properties in Eclipse, then Java Build Path, you can choose a different JDK to use when building the project.
如果在Eclipse中选择项目属性,然后选择Java Build Path,则可以选择在构建项目时使用的其他JDK。