Tag: raring ringtail

  • Java on Ubuntu 13.04 (Raring Ringtail)

    Installing Oracle Java on Ubuntu can be a pretty daunting task. After reading the Ubuntu documentation here:

    Java

    I came across this nice github project:

    oab-java6

    Simply run

    git clone https://github.com/flexiondotorg/oab-java6.git

    Then cd into oab-java6 and run

    sudo ./oab-java.sh

    This will set up a local apt repository for Sun Java 6 and Oracle Java 7. Now run

    sudo apt-get update

    to add the packages from the repository. As the documentation states, you can now run

    sudo apt-get install sun-java6-jre

    To install Java 6 runtime environment.

    One small thing to note:

    I had to run

    sudo update-alternatives --config java

    and select the Sun JRE since the system defaulted to IcedTea.

    Now do

    java -version

    to see what you have!