Eclipse 不工作:Exec 格式错误

A J*_*A J 3 gnome eclipse 14.04

我已经安装了 Eclipse,如下所示:

1 ? 下载eclipse-standard-kepler-SR2-linux-gtk-x86_64.tar.gz到我的 14.04

在此处输入图片说明

2 ? 使用命令提取它,

sudo tar -xvf eclipse-standard-kepler-SR2-linux-gtk-x86_64.tar.gz
Run Code Online (Sandbox Code Playgroud)

3 ? 将 Eclipse 移至/opt/使用命令,

sudo mv eclipse /opt/
Run Code Online (Sandbox Code Playgroud)

4 ? 使用 GIMP 图像编辑器为 Eclipse 创建图标 (64x64)。

5 ? 安装 gnome-panel 使用,

sudo apt-get install --no-install-recommends gnome-panel
Run Code Online (Sandbox Code Playgroud)

6 ? 并通过使用创建应用程序,

sudo gnome-desktop-item-edit /usr/share/applications/ --create-new
Run Code Online (Sandbox Code Playgroud)

图像1

7 ? 选择图标,

img3

8 ? 选择eclipse应用进行评论,

在此处输入图片说明

9 ? 最后输入命令并单击确定。

在此处输入图片说明

我已经提供了所需的一切,并创建并显示了应用程序,

在此处输入图片说明

但是当我打开这个应用程序时它不起作用。

(注意:我创建了另一个,因为第一个不起作用,现在两个都不起作用。这就是为什么图片显示两个日食。)

当我尝试在终端中打开它时,我得到了

bash: /opt/eclipse/eclipse: cannot execute binary file: Exec format error
Run Code Online (Sandbox Code Playgroud)

请告诉我问题可能出现在哪里?

mni*_*ess 9

如果你得到

/opt/eclipse/eclipse: cannot execute binary file: Exec format error
Run Code Online (Sandbox Code Playgroud)

这通常意味着您使用了错误的架构。在这种情况下,您下载了 64 位版本,但应使用 32 位版本的 Eclipse。