Skip to content

Instantly share code, notes, and snippets.

@wavezhang
Last active October 1, 2026 00:43
Show Gist options
  • Select an option

  • Save wavezhang/ba8425f24a968ec9b2a8619d7c2d86a6 to your computer and use it in GitHub Desktop.

Select an option

Save wavezhang/ba8425f24a968ec9b2a8619d7c2d86a6 to your computer and use it in GitHub Desktop.
download java from oracle without login
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz
@shiroze

shiroze commented Dec 3, 2020 •

Copy link
Copy Markdown

@kaynetpc

kaynetpc commented Dec 4, 2020

Copy link
Copy Markdown

To download any JRE or JDK from the Oracle download page without signing in, go to the downloads page for the version you want (such as https://www.oracle.com/java/technologies/jdk12-downloads.html) and click on the Download link of your choice.

  1. When a window pops up saying you need to accept the license agreement, check the box that says you agree. But instead of clicking on the green Download link (which will send you to the login page), right-click the download link and select Copy Link Location.

    • NOTE: If clicking Download doesn't show a box and takes you straight to the login page instead, you will need to clear your cookies on the Java website (or open in incognito mode).
  2. Paste the copied link into a text editor like Notepad. You'll see the link points to something like oracle.com/webapps/redirect/signon, but it has a query attached that starts with "nexturl=". The URL that follows nexturl= is the actual link that will download the file to your computer.

If you want to download any JRE or JDK without signing into Oracle, go to the downloads page for the version you want (such as https://www.oracle.com/java/technologies/jdk12-downloads.html) and right-click on the Download link of your choice. Select "Copy Link Location" and then paste it into a text editor like Notepad.

NOTE: you may need to change the otn in the path to otn-pub as described below.

Nice one ๐Ÿ‘, it work

@jalofra

jalofra commented Dec 7, 2020

Copy link
Copy Markdown

To download any JRE or JDK from the Oracle download page without signing in, go to the downloads page for the version you want (such as https://www.oracle.com/java/technologies/jdk12-downloads.html) and click on the Download link of your choice.

  1. When a window pops up saying you need to accept the license agreement, check the box that says you agree. But instead of clicking on the green Download link (which will send you to the login page), right-click the download link and select Copy Link Location.

    • NOTE: If clicking Download doesn't show a box and takes you straight to the login page instead, you will need to clear your cookies on the Java website (or open in incognito mode).
  2. Paste the copied link into a text editor like Notepad. You'll see the link points to something like oracle.com/webapps/redirect/signon, but it has a query attached that starts with "nexturl=". The URL that follows nexturl= is the actual link that will download the file to your computer.

If you want to download any JRE or JDK without signing into Oracle, go to the downloads page for the version you want (such as https://www.oracle.com/java/technologies/jdk12-downloads.html) and right-click on the Download link of your choice. Select "Copy Link Location" and then paste it into a text editor like Notepad.

NOTE: you may need to change the otn in the path to otn-pub as described below.

This works. You need to change to 'otn-pub' after you agree to the license and it takes you to the log in page. Simply paste the modified direct download url and you're set. Thank you!

@TheLegendOfKitty

Copy link
Copy Markdown

I need openjdk 8u221, but the otn-pub trick is not working

@starchivore

Copy link
Copy Markdown

I need openjdk 8u221, but the otn-pub trick is not working

Java SE Development Kit 8u221
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jdk-8u221-linux-arm32-vfp-hflt.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jdk-8u221-linux-arm64-vfp-hflt.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jdk-8u221-linux-i586.rpm
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jdk-8u221-linux-i586.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jdk-8u221-linux-x64.rpm
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jdk-8u221-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/unix-i586/jdk-8u221-macosx-x64.dmg
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/jdk-8u221-solaris-sparcv9.tar.Z
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/jdk-8u221-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/jdk-8u221-solaris-x64.tar.Z
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/jdk-8u221-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jdk-8u221-windows-i586.exe
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jdk-8u221-windows-x64.exe

Java SE Runtime Environment 8u221
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jre-8u221-linux-i586.rpm
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jre-8u221-linux-i586.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jre-8u221-linux-x64.rpm
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jre-8u221-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/unix-i586/jre-8u221-macosx-x64.dmg
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/unix-i586/jre-8u221-macosx-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/jre-8u221-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/jre-8u221-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jre-8u221-windows-i586-iftw.exe
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jre-8u221-windows-i586.exe
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jre-8u221-windows-i586.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jre-8u221-windows-x64.exe
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jre-8u221-windows-x64.tar.gz

Server JRE (Java SE Runtime Environment) 8u221
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/server-jre-8u221-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/server-jre-8u221-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/server-jre-8u221-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/server-jre-8u221-windows-x64.tar.gz

OpenJDK 8u222
https://wiki.openjdk.java.net/display/jdk8u/Main
https://mail.openjdk.java.net/pipermail/jdk8u-dev/2019-July/009840.html
https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/tag/jdk8u222-b10
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-1.8.0.222-4.b10.redhat.windows.x86_64.zip
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-1.8.0.222-4.b10.redhat.windows.x86_64.msi
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-jre-1.8.0.222-4.b10.redhat.windows.x86_64.zip
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-1.8.0.222-4.b10.redhat.windows.x86.zip
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-1.8.0.222-4.b10.redhat.windows.x86.msi
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-jre-1.8.0.222-4.b10.redhat.windows.x86.zip
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-1.8.0.222-4.b10.redhat.windows.src.zip

@jlmasson

jlmasson commented Dec 8, 2020

Copy link
Copy Markdown

I got mine by replacing otn in the URL with otn-pub, maybe that might help someone?

Thank you, It worked

@Oderjunkie

Copy link
Copy Markdown

I got mine by replacing otn in the URL with otn-pub, maybe that might help someone?

The man, the myth, the legend.
Still works to this day.

@blubbll

blubbll commented Dec 15, 2020

Copy link
Copy Markdown

I need openjdk 8u221, but the otn-pub trick is not working

Java SE Development Kit 8u221
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jdk-8u221-linux-arm32-vfp-hflt.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jdk-8u221-linux-arm64-vfp-hflt.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jdk-8u221-linux-i586.rpm
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jdk-8u221-linux-i586.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jdk-8u221-linux-x64.rpm
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jdk-8u221-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/unix-i586/jdk-8u221-macosx-x64.dmg
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/jdk-8u221-solaris-sparcv9.tar.Z
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/jdk-8u221-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/jdk-8u221-solaris-x64.tar.Z
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/jdk-8u221-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jdk-8u221-windows-i586.exe
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jdk-8u221-windows-x64.exe

Java SE Runtime Environment 8u221
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jre-8u221-linux-i586.rpm
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jre-8u221-linux-i586.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jre-8u221-linux-x64.rpm
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jre-8u221-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/unix-i586/jre-8u221-macosx-x64.dmg
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/unix-i586/jre-8u221-macosx-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/jre-8u221-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/jre-8u221-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jre-8u221-windows-i586-iftw.exe
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jre-8u221-windows-i586.exe
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jre-8u221-windows-i586.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jre-8u221-windows-x64.exe
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jre-8u221-windows-x64.tar.gz

Server JRE (Java SE Runtime Environment) 8u221
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/server-jre-8u221-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/server-jre-8u221-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/server-jre-8u221-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/server-jre-8u221-windows-x64.tar.gz

OpenJDK 8u222
https://wiki.openjdk.java.net/display/jdk8u/Main
https://mail.openjdk.java.net/pipermail/jdk8u-dev/2019-July/009840.html
https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/tag/jdk8u222-b10
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-1.8.0.222-4.b10.redhat.windows.x86_64.zip
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-1.8.0.222-4.b10.redhat.windows.x86_64.msi
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-jre-1.8.0.222-4.b10.redhat.windows.x86_64.zip
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-1.8.0.222-4.b10.redhat.windows.x86.zip
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-1.8.0.222-4.b10.redhat.windows.x86.msi
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-jre-1.8.0.222-4.b10.redhat.windows.x86.zip
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-1.8.0.222-4.b10.redhat.windows.src.zip

thanks

@sidz88

sidz88 commented Dec 16, 2020

Copy link
Copy Markdown

Thanks guys for those links. Have been struggling for past 2 days to download jdk 8 on my Mac. Cheers!!

@sidz88

sidz88 commented Dec 16, 2020

Copy link
Copy Markdown

I need openjdk 8u221, but the otn-pub trick is not working

Java SE Development Kit 8u221
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jdk-8u221-linux-arm32-vfp-hflt.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jdk-8u221-linux-arm64-vfp-hflt.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jdk-8u221-linux-i586.rpm
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jdk-8u221-linux-i586.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jdk-8u221-linux-x64.rpm
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jdk-8u221-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/unix-i586/jdk-8u221-macosx-x64.dmg
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/jdk-8u221-solaris-sparcv9.tar.Z
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/jdk-8u221-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/jdk-8u221-solaris-x64.tar.Z
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/jdk-8u221-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jdk-8u221-windows-i586.exe
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jdk-8u221-windows-x64.exe

Java SE Runtime Environment 8u221
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jre-8u221-linux-i586.rpm
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jre-8u221-linux-i586.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jre-8u221-linux-x64.rpm
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/jre-8u221-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/unix-i586/jre-8u221-macosx-x64.dmg
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/unix-i586/jre-8u221-macosx-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/jre-8u221-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/jre-8u221-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jre-8u221-windows-i586-iftw.exe
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jre-8u221-windows-i586.exe
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jre-8u221-windows-i586.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jre-8u221-windows-x64.exe
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/jre-8u221-windows-x64.tar.gz

Server JRE (Java SE Runtime Environment) 8u221
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/linux-i586/server-jre-8u221-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/server-jre-8u221-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/solaris-i586/server-jre-8u221-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_221-b11/230deb18db3e4014bb8e3e8324f81b43/windows-i586/server-jre-8u221-windows-x64.tar.gz

OpenJDK 8u222
https://wiki.openjdk.java.net/display/jdk8u/Main
https://mail.openjdk.java.net/pipermail/jdk8u-dev/2019-July/009840.html
https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/tag/jdk8u222-b10
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-1.8.0.222-4.b10.redhat.windows.x86_64.zip
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-1.8.0.222-4.b10.redhat.windows.x86_64.msi
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-jre-1.8.0.222-4.b10.redhat.windows.x86_64.zip
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-1.8.0.222-4.b10.redhat.windows.x86.zip
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-1.8.0.222-4.b10.redhat.windows.x86.msi
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-jre-1.8.0.222-4.b10.redhat.windows.x86.zip
https://developers.redhat.com/download-manager/file/java-1.8.0-openjdk-1.8.0.222-4.b10.redhat.windows.src.zip

Thanks a Lot, it worked for my Mac.

@ClintOxx

Copy link
Copy Markdown

@rathaROG thanks

@ujjwal-mic

Copy link
Copy Markdown

why did oracle made it so difficult to get downgrade to the Java

@Sajida-Maung

Copy link
Copy Markdown

@zeeshan0487

zeeshan0487 commented Dec 19, 2020 •

Copy link
Copy Markdown

When you click the link to download, you are provided with a pop-up to agree with terms and condition

  1. Agree by clicking the check box (download link is green now)
  2. Right click on the green button(download) and copy the url
  3. Take only the url after "nexturl" and change 'otn' to 'otn-pub' and copy the whole new url
    (e.g. https://download.oracle.com/otn-pub/java/jdk/8u271-b09/61ae65e088624f5aaa0b1d2d801acb16/jdk-8u271-linux-aarch64.tar.gz)
  4. Click the download button, it will take you to login page
  5. On the login page just change the url to the one copied in step 3 and hit enter
    You are done !!
    Cheers ๐Ÿ‘

@cmdigital

Copy link
Copy Markdown

When you click the link to download, you are provided with a pop-up to agree with terms and condition

  1. Agree by clicking the check box (download link is green now)
  2. Right click on the green button(download) and copy the url
  3. Take only the url after "nexturl" and change 'otn' to 'otn-pub' and copy the whole new url
    (e.g. https://download.oracle.com/otn-pub/java/jdk/8u271-b09/61ae65e088624f5aaa0b1d2d801acb16/jdk-8u271-linux-aarch64.tar.gz)
  4. Click the download button, it will take you to login page
  5. On the login page just change the url to the one copied in step 3 and hit enter
    You are done !!
    Cheers ๐Ÿ‘

Thank you! Working for me.

@morg08

morg08 commented Dec 19, 2020 •

Copy link
Copy Markdown

For Windows users looking to install the JRE, if you have winget setup you can just do winget install jre

@zoix

zoix commented Dec 20, 2020

Copy link
Copy Markdown

@LitePenguins

Copy link
Copy Markdown

When you click the link to download, you are provided with a pop-up to agree with terms and condition

  1. Agree by clicking the check box (download link is green now)
  2. Right click on the green button(download) and copy the url
  3. Take only the url after "nexturl" and change 'otn' to 'otn-pub' and copy the whole new url
    (e.g. https://download.oracle.com/otn-pub/java/jdk/8u271-b09/61ae65e088624f5aaa0b1d2d801acb16/jdk-8u271-linux-aarch64.tar.gz)
  4. Click the download button, it will take you to login page
  5. On the login page just change the url to the one copied in step 3 and hit enter
    You are done !!
    Cheers ๐Ÿ‘

Working as of 12/20, thank you.

@xryanlee

Copy link
Copy Markdown

Worked like a charm! Cheers!

When you click the link to download, you are provided with a pop-up to agree with terms and condition

  1. Agree by clicking the check box (download link is green now)
  2. Right click on the green button(download) and copy the url
  3. Take only the url after "nexturl" and change 'otn' to 'otn-pub' and copy the whole new url
    (e.g. https://download.oracle.com/otn-pub/java/jdk/8u271-b09/61ae65e088624f5aaa0b1d2d801acb16/jdk-8u271-linux-aarch64.tar.gz)
  4. Click the download button, it will take you to login page
  5. On the login page just change the url to the one copied in step 3 and hit enter
    You are done !!
    Cheers ๐Ÿ‘

Working as of 12/20, thank you.

@deXyy999

Copy link
Copy Markdown

@Hydra216

Hydra216 commented Dec 22, 2020 •

Copy link
Copy Markdown

Is there some way I can do this but instead its Java SE 7 x64? Or maybe it's Java SDK 7 x64? I can't remember.

@lordlouckster

lordlouckster commented Dec 25, 2020 •

Copy link
Copy Markdown

We're sorry, the page you requested was not found.
We have recorded this error (404) to help us fix the problem.
You may wish to try again using one of the tools below.

@abdes-zakari

Copy link
Copy Markdown

@klcheungaj

Copy link
Copy Markdown

I made a small site that converts URLs in basically the same way @rathaROG did it. I hope it's useful.

Invalid download URL entered: https://www.oracle.com/webapps/redirect/signon?nexturl=https://download.oracle.com/otn/java/jdk/11.0.8%2B10/dc5cf74f97104e8eac863698146a7ac3/jdk-11.0.8_windows-x64_bin.exe

For version 11, just simply use the otn-pub trick... ;) However, you must accept the license agreement in order to generate a unique cookie or token before being able to download using this trick, or use wget if you know what to do with it.

Detail (Using your broswer):

* Go the official download page:
  https://www.oracle.com/java/technologies/javase-jdk11-downloads.html

* **You must accept the License Agreement**, and copy the link or URL from the download button:
  `https://www.oracle.com/webapps/redirect/signon?nexturl=https://download.oracle.com/otn/java/jdk/11.0.8%2B10/dc5cf74f97104e8eac863698146a7ac3/jdk-11.0.8_windows-x64_bin.exe`

* Remove everything before `=` and including the `=`:
  `https://download.oracle.com/otn/java/jdk/11.0.8%2B10/dc5cf74f97104e8eac863698146a7ac3/jdk-11.0.8_windows-x64_bin.exe`

* Finally, change `otn` to `otn-pub` and `%2B` to `+`:
  `https://download.oracle.com/otn-pub/java/jdk/11.0.8+10/dc5cf74f97104e8eac863698146a7ac3/jdk-11.0.8_windows-x64_bin.exe`

Note:

* Using the final URL directly on your broswer will never works. **You must accept the License Agreement** first.

* Or use `wget` if you already know the final link like this time:
  `wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/11.0.8+10/dc5cf74f97104e8eac863698146a7ac3/jdk-11.0.8_windows-x64_bin.exe`

This works for me. Thank you so much.

@Inkwiz89

Copy link
Copy Markdown

THANK YOU!

@shahidcodes

Copy link
Copy Markdown

Oracle you messed up if so many people are just trying to avoid logging in.

@triplex67

Copy link
Copy Markdown

@Vinodhrk

Vinodhrk commented Jan 3, 2021

Copy link
Copy Markdown

If you want to download any JRE or JDK without signing into Oracle, go to the downloads page for the version you want (such as https://www.oracle.com/java/technologies/jdk12-downloads.html) and right-click on the Download link of your choice. Select "Copy Link Location" and then paste it into a text editor like Notepad. You'll see the link points to something like oracle.com/webapps/redirect/signon, but it has a query attached that starts with "nexturl=". The URL that follows nexturl= is the actual link that will download the file to your computer.

Thank you bud.

Awesome.. it work for me..

@stringang

Copy link
Copy Markdown

In case anyone is confused by the instructions, here's what you need to do:

  1. Go to the oracle download page and accept the license agreement.
  2. Right click on the package you want to download and copy the link - you should see something like https://download.oracle.com/otn/java/jdk/8u241-b07/1f5b5a70bf22433b84d0e960903adac8/jre-8u241-windows-x64.exe
  3. Replace the otn with otn-pub in the above URI
  4. Paste this new URI into your browser address bar or use wget as
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie"  https://download.oracle.com/otn-pub/java/jdk/8u241-b07/1f5b5a70bf22433b84d0e960903adac8/jre-8u241-windows-x64.exe

Working as of 01/21, thank you.

@codesidian

Copy link
Copy Markdown

I got mine by replacing otn in the URL with otn-pub, maybe that might help someone?

๐Ÿ‘Œ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment