Oracle Java 8 in Ubuntu


sudo add-apt-repository ppa:webupd8team/java -y
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt-get install oracle-java8-set-default
java -version
export JAVA_HOME=/usr/lib/jvm/java-8-oracle
Posted on October 28, 2014 08:28 AM by Subhash Chandran
java ubuntu