Ubuntu – Java

How to install java in Ubuntu?

sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

JAVA_HOME path

/usr/lib/jvm/java-8-oracle

Advertisements