bash: ./eclipse: cannot execute binary file

38.6k views Asked by At

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

3

There are 3 answers

6
jpkroehling On BEST ANSWER

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
gabuzo On

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

0
xezno On

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