In this tutorial we will help you install Oracle Java 7 under Ubuntu 12.04/11.10. The installation is very simple due to the use of PPA, the installer will install all required packages including Oracle JDK 7,  Oracle JRE 7, and  the browser plugin.

Close all running web browsers, then open the terminal under Ubuntu 12.04/11.10 and run these commands:

sudo add-apt-repository ppa:upubuntu-com/java

sudo apt-get update

sudo apt-get install oracle-java7-installer

After finishing the installation of Oracle Java 7, open Firefox and go to Add-ons Manager and make sure that the Java Plugin is well installed and enabled:

To uninstall Oracle Java 7, run this sequence of commands:

sudo apt-get install ppa-purge

sudo ppa-purge ppa:upubuntu-com/java

sudo apt-get remove oracle-java7-installer 

sudo apt-get update

That's it!

Post a Comment