24

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

2
  • 3
    Have you checked if that Linux installation is 64bit? While your processor may support 64bit mode, you may be running a 32bit OS. Check with uname -a. If you see something like i686 or i386 and not ia64 or x86_64 then you are running a 32bit system and cannot run 64bit binaries.
    – punnie
    Feb 4, 2011 at 13:37
  • yes, it is the problem , i downloaded 32 bit eclipse and, not it works fine. Thank you punnie
    – KItis
    Feb 4, 2011 at 14:00

3 Answers 3

45

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
6
  • 4
    Not the JVM but the eclipse launcher at least. But since this is not a rights issue then you are probably running a 32 bit kernel (even on a 64 bit machine).
    – gabuzo
    Feb 4, 2011 at 13:43
  • it gave following output ::: Linux localhost 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010 i686 GNU/Linux ::::My ubuntu os is 32 bit :) my java version is :::lib/<arch>/jvm.cfg (where <arch> is i386, amd64, sparc or sparcv9)
    – KItis
    Feb 4, 2011 at 13:53
  • 1
    yup, your operating system is 32bit. either download the 32bit eclipse package or install a 64bit OS.
    – punnie
    Feb 4, 2011 at 13:59
  • 3
    yes problem solved, my os is 32 bit and 32 bit eclipse works fine. thank you everyone for spending your valuable time on this issue.
    – KItis
    Feb 4, 2011 at 14:01
  • @gabuzo That's weird... 32-bit kernel on a 64-bit OS? Why would that be the case? May 16, 2012 at 19:50
1

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

2
  • hi gabuzeo, chmod +x ./eclipse didn't work, ls -l eclipse gave -rwxr-xr-x 1 kapila kapila 71162 2010-08-10 20:48 eclipse
    – KItis
    Feb 4, 2011 at 13:37
  • 1
    hi Tyler this is seems to not working. it still give same message
    – KItis
    Feb 4, 2011 at 13:39
0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.