在Windows 64bit上运行带有32位jvm的32位eclipse [英] Running 32bit eclipse with 32bit jvm on windows 64bit

查看:385
本文介绍了在Windows 64bit上运行带有32位jvm的32位eclipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的其中一个.jar文件只适用于Windows上的32位java虚拟机。我安装了32位版本的eclipse和jdk,但它仍然得到了同样的错误。我将在运行配置中使用哪些命令来指定运行使用此.jar文件的应用程序的32位虚拟机?

One of the .jar files I am using only works with the 32-bit java virtual machine on windows. I installed the 32bit versions of eclipse and the jdk but it is still getting the same error. What commands would I use in the run configuration to specify 32-bit virtual machine for running the application that uses this .jar file?

-vm
C: \Program Files(x86)\ Java \ jre6 \ bin\javaw.exe

-vm C:\Program Files (x86)\Java\jre6\bin\javaw.exe

不起作用。任何想法?

推荐答案

使用Eclipse进行开发时,有 TWO JVM正在运行。一个运行Eclipse本身,另一个运行用于您的程序。

There are TWO JVM's in action when developing with Eclipse. One running Eclipse itself, and the other one used for your program.

除非您在谈论插件,否则您需要担心的是后者。删除-vm选项,以便Eclipse以默认JRE启动。然后转到Preferences - > Java - > Installed JRE并添加32位Java安装并将其设置为默认值(这是技巧)。

Unless you are talking about a plugin, it is the latter you need to worry about. Remove the -vm option so Eclipse starts with the default JRE. Then go to Preferences -> Java -> Installed JRE's and add your 32 bit Java installation and set it to be default (this is the trick).

如果使用JVM通过您的应用程序更改,您就完成了。

If the JVM used by your applications change, you are done.

如果没有,您应该从一个新工作区开始,添加32位JVM并像以前一样创建项目。

If not, you should start with a new workspace, add the 32-bit JVM and create your projects as before.

这篇关于在Windows 64bit上运行带有32位jvm的32位eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆