Monday, April 7, 2014

Quick Note on How to install java in Ubuntu/Mint

Good old days we had the simple way to install the sun java in our Ubuntu machines! Since the oracle has taken the proprietorship of Oracle java(aka sun java) and due to Oracle's software redistribution policy it it not simple as it is to do the "apt-get install"

Nevertheless there are some good documents that showcase the way to install the java with out any struggle :).

First terminal will install the oracle java for you and second terminal command will set the install java as defualt java version.

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
sudo apt-get install oracle-java6-set-default



[1] http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
[2] https://help.ubuntu.com/community/Java