Install Java 7 Oracle Ubuntu – Not Icedtea

A quick easy way to install Java 7 from Oracle and not the open-source version of Java (IcedTea)

 

apt-get install -y python-software-properties
sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update && sudo apt-get install -y oracle-jdk7-installer

update-alternatives –-display java


Leave a Reply