Skip to content

Instantly share code, notes, and snippets.

@geekpete
Last active August 29, 2015 14:06
Show Gist options
  • Save geekpete/12baad19da2da2cc24d4 to your computer and use it in GitHub Desktop.
Save geekpete/12baad19da2da2cc24d4 to your computer and use it in GitHub Desktop.
Download JDK8 tarball with a script by building your own cookie to accept the license with wget
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/8u20-b26/jdk-8u20-linux-i586.tar.gz"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment