Forcing 64 bit jvm to 32 bit jvm?

自闭症网瘾萝莉.ら 提交于 2019-11-30 20:32:10

Switching modes is only possible on Solaris. A JVM is either 64bit or 32bit, except on Solaris where both run modes are available in a single JVM.

But anyway, if you don't need more than 4Gig Ram, install the 32bit JVM also on 64bit Systems, because it is 10-15% faster and needs less memory.

First, install a 32-bit JVM. (I suppose this is under Windows).

Then in Eclipse, open the Preferences panel, and go to Java -> Installed JRE's.

Click Search, tell it to search your harddisk.

Wait.

You should now see both your original 64-bit JVM and your new 32-bit JVM in the list. Put the checkmark on the 32-bit JVM instead of the 64-bit JVM. Click OK.

You should now use a 32-bit JVM in Eclipse, which should be compatible with the library you have.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!