如何确定已安装的 Eclipse 是 32 位还是 64 位版本?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5103366/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 19:58:28  来源:igfitidea点击:

How to find out if an installed Eclipse is 32 or 64 bit version?

eclipsewindows-732bit-64bit

提问by Rabarberski

How can I find out if a specific Eclipse instance on my (Windows 7) PC is the 32-bit or 64-bit version?

如何确定我的(Windows 7)PC 上的特定 Eclipse 实例是 32 位还是 64 位版本?

I've checked the About screen and the maze of dialogs one can call from there, but I didn't find any clues.

我检查了关于屏幕和可以从那里调用的对话框迷宫,但我没有找到任何线索。

Also, right-clicking eclipse.exe in Windows explorer and opening the properties dialog box didn't give any hints.

此外,在 Windows 资源管理器中右键单击 eclipse.exe 并打开属性对话框没有给出任何提示。

回答by Sam Dufel

Hit Ctrl+Alt+Delto open the Windows Task manager and switch to the processes tab.

点击Ctrl+ Alt+Del打开 Windows 任务管理器并切换到进程选项卡。

32-bit programs should be marked with *32.

32 位程序应标有*32.

回答by Bhavana Vadodariya

Open eclipse.iniin the installation directory, and observe the line with text:

eclipse.ini在安装目录中打开,并观察带有文本的行:

plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.0.200.v20090519 then it is 64bit.

插件/org.eclipse.equinox.launcher.win32.win32。x86_64_1.0.200.v20090519 然后是64位。

If it would be plugins/org.eclipse.equinox.launcher.win32.win32.x86_32_1.0.200.v20090519 then it is 32bit.

如果是 plugins/org.eclipse.equinox.launcher.win32.win32。x86_32_1.0.200.v20090519 那么它是32位的。

回答by Rabarberski

Help -> About Eclipse -> Installation Details -> tab Configuration

帮助 -> 关于 Eclipse -> 安装详细信息 -> 选项卡配置

Look for -arch, and below it you'll see either x86_64(meaning 64bit) or x86(meaning 32bit).

寻找-arch,在它下面你会看到x86_64(表示 64 位)或x86(表示 32 位)。

回答by Haakon

In Linux, run fileon the Eclipse executable, like this:

Linux 中,在 Eclipse 可执行文件上运行文件,如下所示:

$ file /usr/bin/eclipse
eclipse: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.0, not stripped

回答by Gaurav vijayvargiya

Go to the Eclipse base folder → open eclipse.ini → you will find the below line at line no 4:

转到 Eclipse 基本文件夹 → 打开 eclipse.ini → 您将在第 4 行找到以下行:

plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20150204-1316 plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807

插件/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20150204-1316 插件/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v201209107-144

As you can see, line 1 is of 64-bit Eclipse. It contains x86_64 and line 2 is of 32-bit Eclipse. It contains x_86.

如您所见,第 1 行是 64 位 Eclipse。它包含 x86_64,第 2 行是 32 位 Eclipse。它包含 x_86。

For 32-bit Eclipse only x86 will be present and for 64-bit Eclipse x86_64 will be present.

对于 32 位 Eclipse,将只存在 x86,而对于 64 位 Eclipse,将存在 x86_64。