Install Java on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install the commando 'add-apt-repository' | |
apt-get install software-properties-common | |
# see: http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html | |
add-apt-repository ppa:webupd8team/java | |
apt-get update | |
apt-get install oracle-java8-installer | |
# JAVA_HOME is '/usr/lib/jvm/java-8-oracle/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment