Skip to content

Instantly share code, notes, and snippets.

@wavezhang
Last active July 15, 2026 01:26
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
@eya118

eya118 commented Nov 2, 2021

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.

thank you bod it did work with the replacing otn with otn-pub

@silviokuehn

silviokuehn commented Nov 3, 2021

Copy link
Copy Markdown

Not working anymore...

Does somebody know, if TechSpot (https://www.techspot.com/downloads/5553-java-jdk.html) is a secure download source for that?

@Chicior9001

Copy link
Copy Markdown

Okay, so I spent like a couple of hours looking for a way to download the file (in my case it was JDK-16.0.2) without login in but it turns out it was a complete waste of my time as I failed to do so. So for those who actually don't want to waste their time like me just create an account with fake info and download it, it's really not that big of a deal. Here, you can use this https://www.fakeaddressgenerator.com as well as any other fake info generator and it will most probably work. Sometimes the most simple of solutions work best.

@hotis

hotis commented Nov 18, 2021

Copy link
Copy Markdown

@silviokuehn

Not working anymore...

Does somebody know, if TechSpot (https://www.techspot.com/downloads/5553-java-jdk.html) is a secure download source for that?

I think, yes. I compared checksums, they are OK.

@silviokuehn

Copy link
Copy Markdown

I think, yes. I compared checksums, they are OK.

👍

@Ryan-Haines

Copy link
Copy Markdown

Okay, so I spent like a couple of hours looking for a way to download the file (in my case it was JDK-16.0.2) without login in but it turns out it was a complete waste of my time as I failed to do so. So for those who actually don't want to waste their time like me just create an account with fake info and download it, it's really not that big of a deal. Here, you can use this https://www.fakeaddressgenerator.com as well as any other fake info generator and it will most probably work. Sometimes the most simple of solutions work best.

There's a browser extension that makes this even easier: https://fakefiller.com/

@Lampe2020

Copy link
Copy Markdown
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

...first looked as if it worked but the file it downloaded was actually a chrushed-down version of the login page saved as "jdk-12.0.2_linux-x64_bin.tar.gz".

@muratsgt

muratsgt commented Dec 4, 2021

Copy link
Copy Markdown

It works thanks , 👍

@JamesSmith888

Copy link
Copy Markdown

i just want to say:fuck oracle

@aasimenator

Copy link
Copy Markdown

@943332358 +1

For everyone else, just use http://bugmenot.com/view/oracle.com
and use the first login provided to sign in, it works. I just tested it.

ghost commented Dec 16, 2021

Copy link
Copy Markdown

anyone got 8u20 linux x64 tar.gz?

@starchivore

Copy link
Copy Markdown

ghost commented Dec 16, 2021

Copy link
Copy Markdown

Got an HTTP 302 response at crawl time

ghost commented Dec 16, 2021

Copy link
Copy Markdown

ghost commented Dec 16, 2021

Copy link
Copy Markdown

I just made a fake account ig i don't really need a bypass

@Cali4niaWK

Copy link
Copy Markdown

Does anyone know how to access the subscription side of Oracles web site? Im still looking for the older files Java Runtime Environment 6.0 Update 211 which has a file name of "jre-6u211-windows-i586.exe" & "jre-6u211-windows-x64.exe" also Java Runtime Environment 7.0 Update 301 which has a file name of "jre-7u301-windows-i586.exe" & "jre-7u301-windows-x64.exe"

@ARadmanesh

Copy link
Copy Markdown

@edgarchinchilla

Copy link
Copy Markdown

Thanks @CypherpunkSamurai for the Tampermokey script! Works like a charm!

@silviokuehn

Copy link
Copy Markdown

Just for the people who does not know: The current Java versions (at the moment 17) can be loaded again without login or any other restrictions:

https://www.oracle.com/java/technologies/downloads/

@edonmello

Copy link
Copy Markdown

@aasimenator
life saver for the accounts !

@moklinowski

Copy link
Copy Markdown

@PUCHITO-71

Copy link
Copy Markdown

not working...soryyyyyyyyyy

@MarcelloTheArcane

Copy link
Copy Markdown

@starchivore

Copy link
Copy Markdown

Checksum for Java SE 8u321 binaries
https://www.oracle.com/a/tech/docs/8u321checksum.html


Java SE Development Kit 8 Downloads
https://www.oracle.com/java/technologies/downloads/#java8-windows


Java SE Runtime Environment 8 Downloads
https://www.oracle.com/java/technologies/downloads/#jre8-windows


Server JRE (Java SE Runtime Environment) 8 Downloads
https://www.oracle.com/java/technologies/downloads/#sjre8-windows


Java Downloads for All Operating Systems


Checksum for Java SE 11.0.14 binaries
https://www.oracle.com/a/tech/docs/11-0-14-checksum.html
https://www.oracle.com/java/technologies/downloads/#java11
curl -L -b "oraclelicense=a" -O https://download.oracle.com/otn-pub/java/jdk/11.0.14%2B8/7e5bbbfffe8b45e59d52a96aacab2f04/jdk-11.0.14_linux-aarch64_bin.deb
curl -L -b "oraclelicense=a" -O https://download.oracle.com/otn-pub/java/jdk/11.0.14%2B8/7e5bbbfffe8b45e59d52a96aacab2f04/jdk-11.0.14_linux-aarch64_bin.rpm
curl -L -b "oraclelicense=a" -O https://download.oracle.com/otn-pub/java/jdk/11.0.14%2B8/7e5bbbfffe8b45e59d52a96aacab2f04/jdk-11.0.14_linux-aarch64_bin.tar.gz
curl -L -b "oraclelicense=a" -O https://download.oracle.com/otn-pub/java/jdk/11.0.14%2B8/7e5bbbfffe8b45e59d52a96aacab2f04/jdk-11.0.14_linux-x64_bin.deb
curl -L -b "oraclelicense=a" -O https://download.oracle.com/otn-pub/java/jdk/11.0.14%2B8/7e5bbbfffe8b45e59d52a96aacab2f04/jdk-11.0.14_linux-x64_bin.rpm
curl -L -b "oraclelicense=a" -O https://download.oracle.com/otn-pub/java/jdk/11.0.14%2B8/7e5bbbfffe8b45e59d52a96aacab2f04/jdk-11.0.14_linux-x64_bin.tar.gz
curl -L -b "oraclelicense=a" -O https://download.oracle.com/otn-pub/java/jdk/11.0.14%2B8/7e5bbbfffe8b45e59d52a96aacab2f04/jdk-11.0.14_osx-x64_bin.dmg
curl -L -b "oraclelicense=a" -O https://download.oracle.com/otn-pub/java/jdk/11.0.14%2B8/7e5bbbfffe8b45e59d52a96aacab2f04/jdk-11.0.14_osx-x64_bin.tar.gz
curl -L -b "oraclelicense=a" -O https://download.oracle.com/otn-pub/java/jdk/11.0.14%2B8/7e5bbbfffe8b45e59d52a96aacab2f04/jdk-11.0.14_solaris-sparcv9_bin.tar.gz
curl -L -b "oraclelicense=a" -O https://download.oracle.com/otn-pub/java/jdk/11.0.14%2B8/7e5bbbfffe8b45e59d52a96aacab2f04/jdk-11.0.14_windows-x64_bin.exe
curl -L -b "oraclelicense=a" -O https://download.oracle.com/otn-pub/java/jdk/11.0.14%2B8/7e5bbbfffe8b45e59d52a96aacab2f04/jdk-11.0.14_windows-x64_bin.zip


Java SE Development Kit 17.0.2 downloads
https://www.oracle.com/java/technologies/downloads/#jdk17-windows


https://devblogs.microsoft.com/commandline/tar-and-curl-come-to-windows/

Windows 10 Insider build 17063 and later now include the real-deal curl and tar executables that you can execute directly from Cmd or PowerShell.


Download - curl
https://curl.se/download.html


https://www.adobe.com/support/coldfusion/downloads.html

@SunnyBearHub

Copy link
Copy Markdown

i need Java SE Development Kit 8u321for windows 64 bit

@Lampe2020

Copy link
Copy Markdown

And I want to download Java SE runtime environment 1.6 or 6, can someone please
(sometimes it's called "1.6" and sometimes it's called "6", I need the version from as near to 2013 as possible to run Terasology Pre Alpha from 2013 on Debian-based Linux (x86_64) with natively installed Java instead of using Wine + Java which causes audio, graphical or even stability problems...)

@tulhaum

tulhaum commented Feb 18, 2022

Copy link
Copy Markdown

Please, I need Java SE Development Kit 7u95 x64 or later, linux tar.gz, could anyone help?? Thanks!!

@neoacevedo

Copy link
Copy Markdown

Not working, you will download only the HTML page from oracle.

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