我想知道我的机器上安装的 eclipse 的位类型是 32 位还是 64 位版本,因为我需要一个 java 函数返回 eclipse 的位版本。
谢谢
最佳答案
您可以从 eclipse 主目录中的 eclipse.ini 文件中检查它。
示例:
if --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_641.1.200.v20130521-0416 then it is 64 bit and if --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x8632_1.1.200.v20130521-0416 then it is 32 bit.
关于java - 识别安装的eclipse的位版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9108102/