I am totally new to Ubuntu and just installed it for the first time. I am trying to install JAVA EE in my ubuntu. I downloaded it from oracle website and its an .sh file. I followed instructions from this website on how to run .sh files: http://ma65p.wordpress.com/2008/08/03/how-to-deal-with-sh-files-in-ubuntu/. Whenever I hit enter in the terminal it says: Could not locate a suitable jar utility. Please ensure that you have Java 6 or newer installed on your system and accessible in your PATH or by setting JAVA_HOME. Please help...

link|improve this question
feedback

1 Answer

up vote 2 down vote accepted

Can't you just sudo apt-get install sun-java6-jdk sun-java6-jre ? Or install the sun-java6-jdk / sun-java6-jre packages with synaptic?

After it finishes try java -version to test it is installed.

link|improve this answer
Is it JAVA EE ? – Idiotic Moron Sep 20 '11 at 8:56
Oh, alright, try to execute that sh after installing jre. – Xavi López Sep 20 '11 at 8:57
I'll try that thanks... – Idiotic Moron Sep 20 '11 at 8:59
Also, take a look here for additional info (not necessarily ubuntu-based) Problems installing Java EE SDK on Linux – Xavi López Sep 20 '11 at 9:00
feedback

Your Answer

 
or
required, but never shown

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