How-to Download Oracle Java JRE-JDK 7-8 on Server Command Line by curl and wget

January 12th, 2015 by thelinuxevangelist

Getting Oracle Java with curl and wget

The Tip Simply Shows Step-by-Step How-to Download the Latest Oracle JRE/JDK 7/8 Update on Linux/Unix Server Command Line by curl and wget Tools.

First You will Need to Find and Copy the Latest Update JRE/JDK Link on the Site!

Downloading Oracle Java JDK/JRE 7/8 on Linux Command Line - Featured
  1. Go to the Java SE Site

    Oracle JRE/JDK 7 Link
  2. Select the Oracle JRE/JDK 7/8

  3. Accept the License

  4. Right-Click on the Archive > Copy Link

  5. Get the Oracle Java JDK/JRE 7/8 for Linux/Unix

    By curl:

    curl -b oraclelicense=accept-securebackup-cookie -O -L 'ORACLELINK'‌

    By wget:

    wget --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" "ORACLELINK"

    Just Replace the ‘ORACLELINK‘ with the Copied one!

Tags: , , , , , , , , , , , , , , , , ,