Instantly share code, notes, and snippets.

Embed
What would you like to do?
ubuntu脚本安装Java8
#/bin/sh
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update -y
sudo apt-get install oracle-java8-installer -y
java -version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment