Java for Ubuntu…

Recently I needed to install Oracles java, and not the open source java for android development. Oracle do not allow Conical to distribute java with Ubuntu distributions. So you need to add the Oracle repositories after your Ubuntu installation. below shown is a example of how it done.

You need to add the Oracle repository to your Ubuntu installation.

# apt-add-repository pap:flexiondotorg/java

You now need to update your repository database.

# apt-get update

Now you can add the Oracle Java repositories.

# apt-get install sun-java6-jre sun-java6-jdk sun-java6-plugin

Thats all its done.