0

I have downloaded Eclipse indigo 64bit tar file and extracted it, for my Ubuntu 12.04, I have JDK 1.7 installed in my system, when I am doing:

java -Version
bash: /home/rd00/Development/jdk1.7.0/bin/java: cannot execute binary file 

and

echo $PATH
/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/rd00/Development/jdk1.7.0/bin

is showing, but when I am clicking on eclipse it is not starting, I have given my JDK path in eclipse.ini also , but no use, need help .

Srikanth

  • 2
    do you get any output when you run eclipse from terminal. If yes can you provide that in your question please. – hingev Feb 14 '13 at 12:33
  • How did you install java? It says it cannot execute the java binary and its in your home folder, so did you manually extract and install? – jobin Feb 14 '13 at 14:00
1

Seems like you didn't install Java correctly. Follow this guide to install Oracle Java on Ubuntu 12.04 or alternatively install openjdk by running:

 sudo apt-get install openjdk-7-jdk

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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