How to install Oracle Java JDK on Ubuntu - 14.04 LTS
How to install Oracle Java JDK on Ubuntu Linux (14.04 LTS)
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
ensure your JAVA_HOME variable has been set to:
export JAVA_HOME=/usr/lib/jvm/java-8-oracle
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
ensure your JAVA_HOME variable has been set to:
export JAVA_HOME=/usr/lib/jvm/java-8-oracle