Skip to content

Instantly share code, notes, and snippets.

@wavezhang
Last active June 6, 2025 12:47
Show Gist options
  • Save wavezhang/ba8425f24a968ec9b2a8619d7c2d86a6 to your computer and use it in GitHub Desktop.
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
@igormcsouza
Copy link

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

Github can never recognize its start enough! But this guy deserves it! :D

@snoozybug
Copy link

can someone get me a version of java 8u20? i need it for minecraft modding :[[

@PlanckConstant
Copy link

can someone get me a version of java 8u20? i need it for minecraft modding :[[

The earliest version I could find: https://bell-sw.com/pages/downloads/?version=java-8&release=8u202%2B8

@snoozybug
Copy link

can someone get me a version of java 8u20? i need it for minecraft modding :[[

The earliest version I could find: https://bell-sw.com/pages/downloads/?version=java-8&release=8u202%2B8

thank you! i'll try it

@Podbrushkin
Copy link

I have a jdk-8-windows-x64-demos.zip with sha256 = fca39cdb402fdf672dcbc29373e011e31a17c1de7b1a9b3283d5158583b2d76c, is there a way how I can make it available to everyone? It contains JavaFX Samples Ensemble app.
Also I think WebArchive can archive urls even if they point to a file.

@VoiceOfZen
Copy link

jre-8u192-windows-x64.exe?

@maiovaio
Copy link

jre-8u192-windows-x64.exe?

There you go

64-bit:
Compressed
Installer

32-Bit:
Offline
Online
Compressed

(Extra versions are for other people that may need compressed or 32-bit versions and made using the technique made by @rathaROG thank you rathaROG)

@pungat
Copy link

pungat commented Dec 26, 2024

@a-bezrukov
Copy link

Version 8 Update 431
Linux
Linux x64
Linux RPM
Linux x64 RPM

@CypherpunkSamurai
Copy link

CypherpunkSamurai commented Jan 8, 2025 via email

@CypherpunkSamurai
Copy link

Use this tool https://github.com/shyiko/jabba

Type the jabba ls-remote after installing for your platform to list all java builds

@tonylambiris
Copy link

Thanks @WassoufZ

@dsankouski
Copy link

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

Thank you!

@Jochen-z
Copy link

@CypherpunkSamurai
Copy link

I created a whole WebUI for all you JDK requirements. It uses Jabba JDK Version Manager Index for the urls. Check it out

https://cypherpunksamurai.github.io/jdk-downloader-webui/

@subvert0r
Copy link

What is Oracle trying to achieve by being a dumb moron forcing everyone to signup? Morons

@dungsaga
Copy link

dungsaga commented Apr 4, 2025 via email

@WOrk-png-arch
Copy link

jdk 1.8 with jre 1.8 please

@starchivore
Copy link

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

au-removal.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252025_8a1589aa0fe24566b4337beee47c2d29

jre-bin-10.0.451+10-osx-x64.dmg
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252026_8a1589aa0fe24566b4337beee47c2d29

JavaSetup8u451.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252027_8a1589aa0fe24566b4337beee47c2d29

chromeinstall-8u451.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252028_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-fcs-bin-b10-macosx-aarch64-05_apr_2025_au.dmg
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252029_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-fcs-bin-b10-macosx-x64-05_apr_2025_au.dmg
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252030_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-linux-i586.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252031_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-linux-i586.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252032_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-linux-x64.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252033_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252034_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-macosx-aarch64.dmg
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252035_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-macosx-aarch64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252036_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-macosx-x64.dmg
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252037_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-macosx-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252038_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252039_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252040_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-windows-au.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252041_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-windows-i586-iftw.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252042_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-windows-i586.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252043_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-windows-x64.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252044_8a1589aa0fe24566b4337beee47c2d29

au.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252055_8a1589aa0fe24566b4337beee47c2d29

jre1.8.0_451.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252056_8a1589aa0fe24566b4337beee47c2d29

jre1.8.0_45164.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252057_8a1589aa0fe24566b4337beee47c2d29

jxpiinstall.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252058_8a1589aa0fe24566b4337beee47c2d29

xpiinstall.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252059_8a1589aa0fe24566b4337beee47c2d29

@thepwrtank18
Copy link

Wow, this thread is a lifesaver! So many workarounds for downloading Java without an Oracle account. Gotta love the internet for finding these hacks! Definitely bookmarking this for future use. Thanks to everyone sharing their tips and links!

Hi there 👋

Discover free online games on Now Games.Enjoy high-quality browser games on mobile & desktop, no downloads or login required. Play now!

CLICK TO PLAY

wtf is this shit

@caganer
Copy link

caganer commented May 4, 2025

I've just spent 3 hours on web searches trying to find the final version of Java runtime Environment for Windows 7 x64 w/o luck.
e.g.
Bing Copilot AI - The final version of the Oracle Java Runtime Environment (JRE) for Windows 7 x64 is Java SE Runtime Environment 7u80
Brave Search AI - last for Windows 7 jre-8u77-windows-x64.exe.
Google - The latest [<--sic] version of Oracle Java SE for Windows 7 x64 is Java SE 8u392
https://en.wikipedia.org/wiki/Java_(software_platform) - Java SE 9 and 10 have higher system requirements, i.e. Windows 7

I had to do a system restore and it zapped Java and I eventually installed from a saved 2016 copy I have of jre-8u101-windows-x64.exe (59.17MB) which installed OK as it is recognised by java -version but there is no update tab on the interface. Whereas another Windows 7 box I have (likewise patched with 0Patch) continues to receive Java updates?!
Current jre-8u451-windows-x64.exe didn't oblige by installing, the removal tool for traces of old installations had also failed. Complete PITA.

Anyone know?

@IcanNeverPickAName
Copy link

can anyone provide 8u451 JDK for windows64 please?

@sergeevabc
Copy link

sergeevabc commented May 9, 2025

@caganer
Spent 3 hours trying to find the final version of Java runtime Environment for Windows 7 x64. Anyone know?

JRE 8u451 (2025-04-17) at https://sourceforge.net/projects/portableapps/files/Java/jre-8u451-windows-x64.zip/

$ ver & java -version
Microsoft Windows [Version 6.1.7601]
java version "1.8.0_451"
Java(TM) SE Runtime Environment (build 1.8.0_451-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.451-b10, mixed mode)

@IcanNeverPickAName
can anyone provide 8u451 JDK for windows64 please?

JDK (with JRE) 8u451 (2025-04-17) at https://sourceforge.net/projects/portableapps/files/JDK/jdk-8u451-windows-x64.zip/

$ echo interface hello{static void main(String[]a){System.out.print("Hello!");}} > hello.java
$ javac hello.java
$ java hello
Hello!

@caganer
Copy link

caganer commented May 10, 2025

Regarding jre-8u451-windows-x64 - Oracle page says Windows 7 and some other o/s environments: "No Longer Supported. Previously supported Operating System. No longer supported by the Vendor."
https://www.oracle.com/java/technologies/javase/products-doc-jdk8-jre8-certconfig.html

It's odd because as I said, the other Windows 7 machine is happily still downloading Java updates...

I'm wondering if OpenJDK wouldn't suffice for many cases where the Oracle version can't be found...? For some reason I have it installed on a Windows 10 machine (maybe thanks to LibreOffice) but it hasn't updated since 2019...

https://openjdk.org/

https://jdk.java.net/

https://learn.microsoft.com/en-us/java/openjdk/install
"To install on any version of Windows, you can use the MSI packages or the ZIP package. If you're on Windows 10 or later, you can use the Windows Package Manager from your Windows Terminal."

@farid-mmzd
Copy link

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

au-removal.exe https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252025_8a1589aa0fe24566b4337beee47c2d29

jre-bin-10.0.451+10-osx-x64.dmg https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252026_8a1589aa0fe24566b4337beee47c2d29

JavaSetup8u451.exe https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252027_8a1589aa0fe24566b4337beee47c2d29

chromeinstall-8u451.exe https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252028_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-fcs-bin-b10-macosx-aarch64-05_apr_2025_au.dmg https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252029_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-fcs-bin-b10-macosx-x64-05_apr_2025_au.dmg https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252030_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-linux-i586.rpm https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252031_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-linux-i586.tar.gz https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252032_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-linux-x64.rpm https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252033_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-linux-x64.tar.gz https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252034_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-macosx-aarch64.dmg https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252035_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-macosx-aarch64.tar.gz https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252036_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-macosx-x64.dmg https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252037_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-macosx-x64.tar.gz https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252038_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-solaris-sparcv9.tar.gz https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252039_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-solaris-x64.tar.gz https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252040_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-windows-au.exe https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252041_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-windows-i586-iftw.exe https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252042_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-windows-i586.exe https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252043_8a1589aa0fe24566b4337beee47c2d29

jre-8u451-windows-x64.exe https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252044_8a1589aa0fe24566b4337beee47c2d29

au.msi https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252055_8a1589aa0fe24566b4337beee47c2d29

jre1.8.0_451.msi https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252056_8a1589aa0fe24566b4337beee47c2d29

jre1.8.0_45164.msi https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252057_8a1589aa0fe24566b4337beee47c2d29

jxpiinstall.exe https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252058_8a1589aa0fe24566b4337beee47c2d29

xpiinstall.exe https://javadl.oracle.com/webapps/download/AutoDL?BundleId=252059_8a1589aa0fe24566b4337beee47c2d29

Hi, would you please share how did you get bundle ids ?

@gilvex
Copy link

gilvex commented May 10, 2025

Where I can find JRE1.6 😢

@bric3
Copy link

bric3 commented Jun 4, 2025

So https://javadl.oracle.com/webapps/download/AutoDL?BundleId=249542_4d245f941845490c91360409ecffb3b4 redirects to https://sdlc-esd.oracle.com/ESD6/JSCDL/jdk/8u401-b10/4d245f941845490c91360409ecffb3b4/jre-8u401-linux-x64.tar.gz?GroupName=JSC&FilePath=/ESD6/JSCDL/jdk/8u401-b10/4d245f941845490c91360409ecffb3b4/jre-8u401-linux-x64.tar.gz&BHost=javadl.sun.com&File=jre-8u401-linux-x64.tar.gz&AuthParam=1749055053_d7d0d2c12781343deddfe32c7d1c8df9&ext=.gz

The redirected link is constituted of query params that indicates the criteria to download a specific archive.

So basically one would need to find, and replace the appropriate values

  • the version and build 8u401-b10
  • some hash 4d245f941845490c91360409ecffb3b4
  • the archive name jre-8u401-linux-x64.tar.gz
  • the auth param likely needs to be changed for each download

All JDK related values can be found on the download links current update, older updates after 8u211. That said for JDKs this doesn't seem to work yet so there must be something else to discover.

If the AuthParam=1749055053_d7d0d2c12781343deddfe32c7d1c8df9 is incorrect then the server returns 403.

At this time, the 1749055053 looks like the deadline in epoch (likely UTC). However I'm unsure about what looks like a hash. That said the auth param appears unrelated to the rest of the URL. Actually it doesn't seem like a hash or at least not tied to the deadline. So basically just moving the epoch to something in the future, like 10 minutes will make this link work.

@starchivore
Copy link

Hi, would you please share how did you get bundle ids ?

Hi, I rarely checked this E-mail address ever since I started getting like tons of spam and therefore I didn't realize that you posted a question.


First of all, let's visit this page and then we're gonna find 252042 / 252043 / 252044 for Windows versions of 8u451 installers:

https://www.java.com/en/download/manual.jsp

(Please remember that some web browsers might somehow "convert" each BundleId into whole bunch of "meaningless" characters whenever we tried to right-click / copy those links, Microsoft Edge was behaving just like that while Brave Browser seemed to have no such issues.)

My workaround would be simply pressing Ctrl + U to view the page source first:

view-source:https://www.java.com/en/download/manual.jsp

Then we could press Ctrl + F to find the specific keyword BundleId afterwards.

Next step would be subtracting about 50 from 252042 for the first number while adding 50 to 252042 for the last number respectively.

After that, it's just a matter of plugging both 251992 and then 252092 into this particular page linked below:

https://pinetools.com/generate-list-numbers

Check the box Add text before each number? first, then copy and paste this:

wget --spider "https://javadl.oracle.com/webapps/download/AutoDL?BundleId=

Check the box Add text after each number? first, then copy and paste (please watch out for the underscore at the very beginning / double quote at the very end respectively while making sure that we won't end up copying any extra null spaces at all) this:

_8a1589aa0fe24566b4337beee47c2d29"

(Obviously future releases of Java will require something greater than 251992 / 252092 for sure, while we'll definitely find something totally different from _8a1589aa0fe24566b4337beee47c2d29 as well.)

Finally we could hit that Generate button at the bottom of the web page and then copy everything accordingly. Just paste everything while saving that as java.cmd or something like that. If we're using Notepad to do that, please make sure that's actually saved as java.cmd instead of java.cmd.txt for obvious reasons.


Now let's grab a copy of wget.exe by extracting that file from any downloads with the filename including static here:

https://github.com/lifenjoiner/wget-for-windows

Let's say we're saving that java.cmd to the folder such as C:\Temp as an example, then we'll also extract the file wget.exe to C:\Temp afterwards.

Open Command Prompt first, then enter this:

cd C:\Temp
java.cmd

Then we could plow right through everything in order to obtain the corresponding filename for each and every BundleId afterwards.


Honestly it's much easier for me to figure out how to do everything on my own, while I'm just no good at explaining how someone else could get things done. LOL

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