问题描述
我有一个运行64位Windows 7的系统。我正在使用进行项目,我发现使用32位jdk效果最佳(或唯一)。我正在使用32位食。我还安装了64位JDK。现在,我已经为32位JDK设置了类路径(JAVA_HOME和Path)。
I have a system running 64bit windows 7. I'm doing a project using JMF, which I found works best (or only) with 32 bit jdk. I'm using a 32bit eclipse. I also have a 64bit JDK installed. right now I have set classpath (JAVA_HOME and Path) for the 32bit JDK.
问题是在64位和32位JDK之间切换变得很忙(我必须每次更改类路径)。有没有更简单的方法可以做到这一点?
The problem is it becomes hectic to switch between the 64bit and 32 bit JDK(i have to change classpaths everytime). Is there any easier way to do that?
推荐答案
您可以在Eclipse中注册多个JRE,并将一个项目或运行配置与特定的JRE相关联。这些不同于您用于运行Eclipse的JRE。
You can have multiple JREs registered with Eclipse, and associate a project or run configuration with a specific JRE. These are different from the JRE you use to run Eclipse in.
这篇关于使用64位和32位JDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!