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 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...

share|improve this question

1 Answer 1

up vote 3 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.

share|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

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.