Skip to content

Instantly share code, notes, and snippets.

@uarun
Created January 26, 2016 17:57
Show Gist options
  • Save uarun/d29e60da9338d546fada to your computer and use it in GitHub Desktop.
Save uarun/d29e60da9338d546fada to your computer and use it in GitHub Desktop.

Revisions

  1. uarun created this gist Jan 26, 2016.
    9 changes: 9 additions & 0 deletions java_download.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    # Downloading JDK

    ## Using `wget`

    wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz

    ## Using `curl`

    curl -v -j -k -L -H "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz > jdk-7u79-linux-x64.tar.gz