bash: ./eclipse: cannot execute binary file

孤者浪人 提交于 2019-12-03 16:02:52

问题


i am working on Ubuntu10.10 OS and i have downloaded eclipse-jee-helios-SR1-linux-gtk-x86_64.tar.gz. my computer is 64 bit machine.

when i untar eclipse and try run ./eclipse from command line, it gives me above error.

when i run file eclipse , it gives me following information.

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

Could someone help me to find out what is going wrong here

Thanks in advance for any help


回答1:


My bet is that you are using a x86 Ubuntu with a x86_64 JVM. To make sure your Ubuntu is 64 bits, run the following command:

$ uname -i



回答2:


I suspect a right problem chmod +x ./eclipse should help and if it does not ls -l eclipse




回答3:


You've downloaded the 64-bit version of Eclipse - you need to download the 32-bit one!



来源:https://stackoverflow.com/questions/4898508/bash-eclipse-cannot-execute-binary-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!