Skip to content

Instantly share code, notes, and snippets.

@yzf
Created June 6, 2018 06:32
Show Gist options
  • Save yzf/31beb7d6f546338362534fca30cf7658 to your computer and use it in GitHub Desktop.
Save yzf/31beb7d6f546338362534fca30cf7658 to your computer and use it in GitHub Desktop.
install jdk8 in debian
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment