bash: ./eclipse: cannot execute binary file
i am working on Ubuntu10.10 OS and i have downloaded eclipse-jee-helios-SR1-linu开发者_如何学Gox-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
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
I suspect a right problem chmod +x ./eclipse
should help and if it does not ls -l eclipse
You've downloaded the 64-bit version of Eclipse - you need to download the 32-bit one!
精彩评论