IMO you should use webupd8 PPA. Not only it provides Oracle Java JDK 7 (which includes Java JDK, JRE and the Java browser plugin), but also it adds an updater to your software sources and you'll always get the latest java update through ubuntu's software updater.
First you have to completely remove the OpenJDK/JRE from your system to prevent system conflicts and confusion between different vendor versions of Java.
Run the following at the command line:
Code:
sudo apt-get purge openjdk-\*
After that, ant to install webupd8 ppa:
Code:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
Bookmarks