Skip to content

Instantly share code, notes, and snippets.

@snekse
Created April 29, 2013 23:39
Show Gist options
  • Save snekse/5485660 to your computer and use it in GitHub Desktop.
Save snekse/5485660 to your computer and use it in GitHub Desktop.
Download the Oracle JDK via command line. Makes for an easier install Derived from http://stackoverflow.com/questions/10268583/how-to-automate-download-and-instalation-of-java-jdk-on-linux/13347087#13347087 NOTE: May need --no-check-certificate at the end of this command. TODO: Find a way to automate grabbing the latest patch version #linux #ubu…
wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://download.oracle.com/otn-pub/java/jdk/7u21-b11/jdk-7u21-linux-x64.tar.gz"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment