Skip to content

Instantly share code, notes, and snippets.

@salex89
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save salex89/c2ea7a0a850b3c961b9b to your computer and use it in GitHub Desktop.
Save salex89/c2ea7a0a850b3c961b9b to your computer and use it in GitHub Desktop.
# Debian/Ubuntu
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
# CentOS:
sudo wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" \
"http://download.oracle.com/otn-pub/java/jdk/8u25-b17/jdk-8u25-linux-x64.tar.gz"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment