How To Install JAVA EE in Ubuntu 11.04 properly?

14,187

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:
14,187

Related videos on Youtube

Idiotic Moron
Author by

Idiotic Moron

Updated on September 18, 2022

Comments

  • Idiotic Moron
    Idiotic Moron over 1 year

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

  • Idiotic Moron
    Idiotic Moron over 12 years
    Is it JAVA EE ?
  • user2524705
    user2524705 over 12 years
    Oh, alright, try to execute that sh after installing jre.
  • user2524705
    user2524705 over 12 years
    Also, take a look here for additional info (not necessarily ubuntu-based) Problems installing Java EE SDK on Linux