开发者

64-bit Eclipse and JVM

开发者 https://www.devze.com 2022-12-28 10:26 出处:网络
开发者_开发问答How do I tell if I am using 64-bit Eclipse and 64-bit JVM on my Linux machine?To verify that you are using 64-bit JVM:

开发者_开发问答How do I tell if I am using 64-bit Eclipse and 64-bit JVM on my Linux machine?


To verify that you are using 64-bit JVM:

java -d64 -version


In a comment above you say that you're using a software package that requires "such constraints". I'm not exactly sure what you mean by that, but for Java programs, it doesn't matter if the underlying Java implementation is 32-bit or 64-bit (well, as long as it doesn't need a huge amount of memory, for example). A normal Java program should run the same, no matter if it runs on a 32-bit or 64-bit OS.

java -version should give you an indication if your Java runtime environment is 32-bit or 64-bit.

Eclipse contains some native binaries (for the SWT libraries). Depending on if your Java runtime environment is 32-bit or 64-bit, you need a version of Eclipse with the corresponding native binaries. The Eclipse download page contains links for 32-bit and 64-bit Linux versions of Eclipse.

Note: If your OS is 64-bit but your Java RE is 32-bit, you will still need the 32-bit Eclipse.


Usually you can tell from your eclipse.sh or your eclipse.ini if you are using 32bit or 64bit version, as the involved plugins are quite different.

As for the JVM, are you running Eclipse with something other than your default JVM? 'which java' usually tells you what you're using as your java executable.

0

精彩评论

暂无评论...
验证码 换一张
取 消