Howto- Install Oracle Java7 in Ubuntu12.04 Precise Pangolin | PPA

by
Share this Article: Facebook12Google+15Twitter15LinkedIn2Reddit0Pinterest0StumbleUpon0Digg

The “Oracle-java″ package is no longer available in the official Ubuntu 11.10 Oneiric Ocelot and Precise Pangolin.   In this post i will show you how to remove OpenJDK and install Oracle Java7 on Ubuntu 12.04 Precise Pangolin.

First we need to remove the installed Open JDK Java:

sudo apt-get purge openjdk*

Now add the following PPA and install Oracle Java7 in Ubuntu 11.10, 12.04 Precise Pangolin:

sudo add-apt-repository ppa:eugenesan/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

I tested the above PPA in Ubuntu 11.10, 12.04 Precise Pangolin also on LinuxMint12 works just fine.

Please let me know if this worked for you. Thanks

Share this Article: Facebook12Google+15Twitter15LinkedIn2Reddit0Pinterest0StumbleUpon0Digg