Installing oracle jdk on ubuntu server 12.04 This is a easy step to install java7 in ubuntu. I have tried this is easy as a pie. This steps create repo and updates it and starts downlaod ing and installing the oracle version of the java.

log in to ubuntu and in terminal type in:

#sudo apt-get install python-software-properties

#sudo add-apt-repository ppa:webupd8team/java

#sudo apt-get update

#sudo apt-get install oracle-java7-installer

For uninstalling oracle java 7

#sudo apt-get remove oracle-java7-installer

ENJOY !!

Advertisements