How to Download Oracle Java JRE-JDK 7-8 on Server Command Line By Curl and Wget

January 12, 2015 | By the+gnu+linux+evangelist.

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 oracle.com Site!

How to Install Oracle JDK 21 on Ubuntu 24.04 – Step-by-step
  1. Go to the oracle.com 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!


QuickChic Theme • Powered by WordPress