Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
2  
do you get any output when you run eclipse from terminal. If yes can you provide that in your question please. –  geoh 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? –  i08in Feb 14 '13 at 14:00
add comment

1 Answer 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
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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