强制 64 位 jvm 到 32 位 jvm? [英] Forcing 64 bit jvm to 32 bit jvm?
问题描述
谁能给我一些关于强制 64 位 jvm 作为 32 位 jvm 运行的想法?
Would anyone please give me ideas about forcing 64 bit jvm to run as 32-bit jvm?
我需要为蓝牙连接编写一个jse桌面应用程序.为此,我需要实现 Bluecove jar .它只有 32 位文件.所以我在 eclipse pulsar 的 VM 参数下包含了 -D32.但是我仍然收到与添加参数之前显示的相同的错误:缺少 bluecove_x64.dll.我尝试使用 -d32,它显示无法识别的选项:d32".
I need to write a jse desktop application for bluetooth connection. For that i need to implement Bluecove jar . It has 32-bit files only. So i included -D32 under VM arguments in eclipse pulsar. But still i am getting the same error that displayed before adding the argument: bluecove_x64.dll missing. I tried with -d32, and it showed me "unrecognized option: d32".
看来我应该安装一个可以在 64 位操作系统上运行的 32 位 jvm.那么,谁能告诉我到底应该安装什么?32 位或 Eclipse 软件中的 Java SDK?
And it seems like i should install a 32-bit jvm that would run on 64-bit os. So, can anyone please tell me what exactly should i install? Java SDK in 32-bit or Eclipse software?
提前致谢!
推荐答案
只能在 Solaris 上切换模式.JVM 可以是 64 位或 32 位,但在 Solaris 上除外,其中两种运行模式均可在单个 JVM 中使用.
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.
但无论如何,如果您不需要超过 4Gig Ram,请在 64 位系统上也安装 32 位 JVM,因为它快 10-15% 并且需要更少的内存.
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.
这篇关于强制 64 位 jvm 到 32 位 jvm?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!