Skip to content

Instantly share code, notes, and snippets.

@leommoore
Last active August 10, 2016 21:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leommoore/11295097 to your computer and use it in GitHub Desktop.
Save leommoore/11295097 to your computer and use it in GitHub Desktop.
Ubuntu - Installing Java

#Ubuntu - Installing Java

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

##To install the JDK

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update

sudo apt-get install default-jdk

To check to see what version.

java -version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment