Skip to content

Instantly share code, notes, and snippets.

@caok
Created May 15, 2016 09:15
Show Gist options
  • Save caok/51e1c5bd335b03c33d5d295683efead5 to your computer and use it in GitHub Desktop.
Save caok/51e1c5bd335b03c33d5d295683efead5 to your computer and use it in GitHub Desktop.
ubuntu install java8
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install Oracle-java8-installer
完成之后可以通过以下命令来查看版本:
javac -version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment