Skip to content

Instantly share code, notes, and snippets.

@wavezhang
Last active November 13, 2024 02:42
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
@matheusmurta
Copy link

need fuck login to oracle site
jdk-8u241-windows-x64.exe download
https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html

@AchimGrolimund
Copy link

Login ass

[email protected]
Qwert1234

@bfgh012
Copy link

bfgh012 commented Oct 9, 2020

(Personal note only) How to generate link for the future update:

  1. Go to https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
  2. Click on the wanted exe file and accept the license agreement
  3. Get the link from the download button

For example: https://www.oracle.com/webapps/redirect/signon?nexturl=https://download.oracle.com/otn/java/jdk/8u261-b12/a4634525489241b9a9e1aa73d9e118e6/jdk-8u261-windows-x64.exe

  1. Add necessary info into this link:

https://javadl.oracle.com/webapps/download/GetFile/1.8.0_[xxx]-b[xx]/[encrypted_path]/windows-i586/[file_name_exe]

  • [xxx] is the update number; for example 261
  • [xx] is the build number; for example 12
  • [encrypted_path] is the encrypted path; for example a4634525489241b9a9e1aa73d9e118e6
  • [file_name_exe] is the exe file name; for example jdk-8u261-windows-x64.exe
  1. Final and ready download link will be:
    https://javadl.oracle.com/webapps/download/GetFile/1.8.0_261-b12/a4634525489241b9a9e1aa73d9e118e6/windows-i586/jdk-8u261-windows-x64.exe

This works like a charm!!!
Latest links at this time:
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_261-b12/a4634525489241b9a9e1aa73d9e118e6/windows-i586/jdk-8u261-windows-i586.exe
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_261-b12/a4634525489241b9a9e1aa73d9e118e6/windows-i586/jdk-8u261-windows-x64.exe

Works great!

An alternate solution:

  1. go to https://www.oracle.com/webfolder/s/digest/8u[xxx]checksum.html, where [xxx] is the update number. Currently https://www.oracle.com/webfolder/s/digest/8u261checksum.html
  2. Use google to search for MD5 hash of package you are looking for.
  3. After download from one of the google results, make sure to check MD5 of the downloaded file. On windows CertUtil -hashfile <path to file> MD5

Many thanks 👍👍👍👍👍

@nhristova
Copy link

Login ass

[email protected]
Qwert1234

Thanks a lot! 💯
I tried to register but I think the confirmation email got blocked by spam filter :D

@dlmvikas
Copy link

(Personal note only) How to generate link for the future update:

  1. Go to https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
  2. Click on the wanted exe file and accept the license agreement
  3. Get the link from the download button

For example: https://www.oracle.com/webapps/redirect/signon?nexturl=https://download.oracle.com/otn/java/jdk/8u261-b12/a4634525489241b9a9e1aa73d9e118e6/jdk-8u261-windows-x64.exe

  1. Add necessary info into this link:

https://javadl.oracle.com/webapps/download/GetFile/1.8.0_[xxx]-b[xx]/[encrypted_path]/windows-i586/[file_name_exe]

  • [xxx] is the update number; for example 261
  • [xx] is the build number; for example 12
  • [encrypted_path] is the encrypted path; for example a4634525489241b9a9e1aa73d9e118e6
  • [file_name_exe] is the exe file name; for example jdk-8u261-windows-x64.exe
  1. Final and ready download link will be:
    https://javadl.oracle.com/webapps/download/GetFile/1.8.0_261-b12/a4634525489241b9a9e1aa73d9e118e6/windows-i586/jdk-8u261-windows-x64.exe

This works like a charm!!!
Latest links at this time:
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_261-b12/a4634525489241b9a9e1aa73d9e118e6/windows-i586/jdk-8u261-windows-i586.exe
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_261-b12/a4634525489241b9a9e1aa73d9e118e6/windows-i586/jdk-8u261-windows-x64.exe

Works great!

An alternate solution:

  1. go to https://www.oracle.com/webfolder/s/digest/8u[xxx]checksum.html, where [xxx] is the update number. Currently https://www.oracle.com/webfolder/s/digest/8u261checksum.html
  2. Use google to search for MD5 hash of package you are looking for.
  3. After download from one of the google results, make sure to check MD5 of the downloaded file. On windows CertUtil -hashfile <path to file> MD5

Thanks a lot

@D2Joy
Copy link

D2Joy commented Oct 19, 2020

fantastic work. screw login.

@rathaROG
Copy link

rathaROG commented Oct 21, 2020

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

https://sites.google.com/view/java-se-download-url-converter


Worked for 8u271:
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_271-b09/61ae65e088624f5aaa0b1d2d801acb16/windows-i586/jdk-8u271-windows-x64.exe

By the way, it would be nice if you could add JDK 8 link to your "How to use" and add support for other platforms (Linux and macOS) @kadiwa4. (Edited: it already works for other platforms! My bad. ^_^)

@starchivore
Copy link

jdk-8u271-docs-all.zip
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243704_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-aarch64.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243705_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-aarch64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243706_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-arm32-vfp-hflt.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243707_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-arm64-vfp-hflt.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243708_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-i586.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243709_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-i586.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243710_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-x64.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243711_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243712_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-macosx-x64.dmg
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243713_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-solaris-sparcv9.tar.Z
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243714_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243715_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-solaris-x64.tar.Z
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243716_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243717_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-windows-i586.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243718_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-windows-x64.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243719_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-aarch64.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243722_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-aarch64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243723_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-i586.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243724_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-i586.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243725_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-x64.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243726_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243727_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-macosx-x64.dmg
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243728_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-macosx-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243729_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-macosx-x64_pkg.dmg
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243730_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243731_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243732_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-au.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243733_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-i586-iftw.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243734_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-i586.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243735_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-i586.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243736_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-x64.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243737_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243738_61ae65e088624f5aaa0b1d2d801acb16

au.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243739_61ae65e088624f5aaa0b1d2d801acb16

jre1.8.0_271full.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243740_61ae65e088624f5aaa0b1d2d801acb16

jre1.8.0_271full64.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243741_61ae65e088624f5aaa0b1d2d801acb16

jre1.8.0_271patch.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243742_61ae65e088624f5aaa0b1d2d801acb16

jre1.8.0_271patch64.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243743_61ae65e088624f5aaa0b1d2d801acb16

jxpiinstall.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243744_61ae65e088624f5aaa0b1d2d801acb16

server-jre-8u271-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243745_61ae65e088624f5aaa0b1d2d801acb16

server-jre-8u271-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243746_61ae65e088624f5aaa0b1d2d801acb16

server-jre-8u271-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243747_61ae65e088624f5aaa0b1d2d801acb16

server-jre-8u271-windows-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243748_61ae65e088624f5aaa0b1d2d801acb16

xpiinstall.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243749_61ae65e088624f5aaa0b1d2d801acb16

JavaSetup8u271.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243750_61ae65e088624f5aaa0b1d2d801acb16

chromeinstall.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243751_61ae65e088624f5aaa0b1d2d801acb16

@Caeliiaa
Copy link

jdk-8u271-docs-all.zip
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243704_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-aarch64.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243705_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-aarch64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243706_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-arm32-vfp-hflt.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243707_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-arm64-vfp-hflt.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243708_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-i586.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243709_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-i586.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243710_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-x64.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243711_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243712_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-macosx-x64.dmg
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243713_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-solaris-sparcv9.tar.Z
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243714_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243715_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-solaris-x64.tar.Z
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243716_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243717_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-windows-i586.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243718_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-windows-x64.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243719_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-aarch64.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243722_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-aarch64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243723_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-i586.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243724_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-i586.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243725_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-x64.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243726_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243727_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-macosx-x64.dmg
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243728_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-macosx-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243729_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-macosx-x64_pkg.dmg
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243730_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243731_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243732_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-au.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243733_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-i586-iftw.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243734_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-i586.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243735_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-i586.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243736_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-x64.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243737_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243738_61ae65e088624f5aaa0b1d2d801acb16

au.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243739_61ae65e088624f5aaa0b1d2d801acb16

jre1.8.0_271full.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243740_61ae65e088624f5aaa0b1d2d801acb16

jre1.8.0_271full64.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243741_61ae65e088624f5aaa0b1d2d801acb16

jre1.8.0_271patch.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243742_61ae65e088624f5aaa0b1d2d801acb16

jre1.8.0_271patch64.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243743_61ae65e088624f5aaa0b1d2d801acb16

jxpiinstall.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243744_61ae65e088624f5aaa0b1d2d801acb16

server-jre-8u271-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243745_61ae65e088624f5aaa0b1d2d801acb16

server-jre-8u271-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243746_61ae65e088624f5aaa0b1d2d801acb16

server-jre-8u271-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243747_61ae65e088624f5aaa0b1d2d801acb16

server-jre-8u271-windows-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243748_61ae65e088624f5aaa0b1d2d801acb16

xpiinstall.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243749_61ae65e088624f5aaa0b1d2d801acb16

JavaSetup8u271.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243750_61ae65e088624f5aaa0b1d2d801acb16

chromeinstall.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243751_61ae65e088624f5aaa0b1d2d801acb16

thanks, is working for me.

@hangj
Copy link

hangj commented Oct 24, 2020

It works for me, thanks!

@TePossinoAcciaccatte
Copy link

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

Still works today

@MeApeSmallBrain
Copy link

MeApeSmallBrain commented Oct 25, 2020

@wctiger
Copy link

wctiger commented Oct 26, 2020

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

https://sites.google.com/view/java-se-download-url-converter

Worked for 8u271:
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_271-b09/61ae65e088624f5aaa0b1d2d801acb16/windows-i586/jdk-8u271-windows-x64.exe

By the way, it would be nice if you could add JDK 8 link to your "How to use" and add support for other platforms (Linux and macOS) @kadiwa4. (Edited: it already works for other platforms! My bad. ^_^)

This worked - appreciate it!

@edgarchinchilla
Copy link

I've found a new way to download always the latest version of JDK with one click and from oficial Java Website:

@salmon7
Copy link

salmon7 commented Nov 3, 2020

It works for me, thanks!

@2M4U
Copy link

2M4U commented Nov 4, 2020

@2M4U
Copy link

2M4U commented Nov 4, 2020

https://jdk.java.net/archive/
Full Archive of JDKs

@starchivore
Copy link

@starchivore where you extracted the BundleId from?

@edgarchinchilla nowhere to be extracted AFAIK.

I just visited this page here first, then it's simply a matter of dialing those (consecutive) 6-digit numbers back and forth:

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

Maybe create a specific range of numbers in a spreadsheet or something, then add "wget --spider https://javadl.oracle.com/webapps/download/AutoDL?BundleId= before as well as _61ae65e088624f5aaa0b1d2d801acb16" after each number.

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

Basically redirect each output of wget --spider to a corresponding file like 24NNNN.txt and then use grep or something similar to grab its filename. Notepad++ could also go through the entire folder where whole bunch of 24NNNN.txt files are saved, then search for either .exe or .msi etc.

FYI - _61ae65e088624f5aaa0b1d2d801acb16 for 8u271 could be found here, it's gonna be updated automatically once 8u281 is available:

https://javadl-esd-secure.oracle.com/update/1.8.0/map-1.8.0.xml

Obviously there must be a much better way out there but you could tell that I'm no good at any of this stuff. LOL

I guess that modifying something like this might do the trick but not really sure?

https://www.commandlinefu.com/commands/view/23149/get-latest-direct-download-url-for-java-jre
https://www.commandlinefu.com/commands/view/23150/get-latest-direct-download-url-for-java-jre
https://www.commandlinefu.com/commands/view/23152/check-the-most-recent-version-of-java-jre

@ndm13
Copy link

ndm13 commented Nov 4, 2020

For the Java downloads page (https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html and company) I made a bookmarklet:

javascript:(function()%7B(e%3D%3E%7Be.href%3De.href.substring(55).replace(%22%2Fotn%2F%22%2C%22%2Fotn-pub%2F%22)%7D)(document.querySelector('.download-file%5Bhref%5E%3D%22https%3A%2F%2Fwww.oracle.com%2Fwebapps%2Fredirect%2Fsignon%3Fnexturl%3D%22%5D'))%7D)()

Turns the link for the button into a direct link to the file. May require the terms box to be checked.

JS source:

(e=>e.href=e.href.substring(55).replace("/otn/","/otn-pub/"))(document.querySelector('.download-file[href^="https://www.oracle.com/webapps/redirect/signon?nexturl="]'))

This could probably be turned into a Tampermonkey/etc extension.

@admanih
Copy link

admanih commented Nov 6, 2020

@briansrls
Copy link

For the Java downloads page (https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html and company) I made a bookmarklet:

javascript:(function()%7B(e%3D%3E%7Be.href%3De.href.substring(55).replace(%22%2Fotn%2F%22%2C%22%2Fotn-pub%2F%22)%7D)(document.querySelector('.download-file%5Bhref%5E%3D%22https%3A%2F%2Fwww.oracle.com%2Fwebapps%2Fredirect%2Fsignon%3Fnexturl%3D%22%5D'))%7D)()

Turns the link for the button into a direct link to the file. May require the terms box to be checked.

JS source:

(e=>e.href=e.href.substring(55).replace("/otn/","/otn-pub/"))(document.querySelector('.download-file[href^="https://www.oracle.com/webapps/redirect/signon?nexturl="]'))

This could probably be turned into a Tampermonkey/etc extension.

this worked thank you

@PanJohnny
Copy link

@LuisSaybe
Copy link

replacing otn with otn-pub in the URL works for me, thanks fam

@mr-4nders0n
Copy link

got
"openjdk-15.0.1_windows-x64_bin.zip"
from
https://jdk.java.net/15/
which contains multiple (37) exe files in the bin folder two of which are java.exe and javaw.exe and 3 other files beginning with "java" plus jcmd.exe and jconsole.exe, which of these files is the main executable I am unsure.
All other links I have had little success, even the creation of html files to create better download links, but to no avail. Though I'm not certain that I have tried every single link on the page.

@fareedfauzi
Copy link

@bunday
Copy link

bunday commented Nov 20, 2020

jdk-8u271-docs-all.zip
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243704_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-aarch64.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243705_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-aarch64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243706_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-arm32-vfp-hflt.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243707_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-arm64-vfp-hflt.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243708_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-i586.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243709_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-i586.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243710_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-x64.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243711_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243712_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-macosx-x64.dmg
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243713_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-solaris-sparcv9.tar.Z
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243714_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243715_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-solaris-x64.tar.Z
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243716_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243717_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-windows-i586.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243718_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-windows-x64.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243719_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-aarch64.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243722_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-aarch64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243723_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-i586.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243724_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-i586.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243725_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-x64.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243726_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243727_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-macosx-x64.dmg
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243728_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-macosx-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243729_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-macosx-x64_pkg.dmg
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243730_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243731_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243732_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-au.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243733_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-i586-iftw.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243734_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-i586.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243735_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-i586.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243736_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-x64.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243737_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243738_61ae65e088624f5aaa0b1d2d801acb16

au.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243739_61ae65e088624f5aaa0b1d2d801acb16

jre1.8.0_271full.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243740_61ae65e088624f5aaa0b1d2d801acb16

jre1.8.0_271full64.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243741_61ae65e088624f5aaa0b1d2d801acb16

jre1.8.0_271patch.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243742_61ae65e088624f5aaa0b1d2d801acb16

jre1.8.0_271patch64.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243743_61ae65e088624f5aaa0b1d2d801acb16

jxpiinstall.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243744_61ae65e088624f5aaa0b1d2d801acb16

server-jre-8u271-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243745_61ae65e088624f5aaa0b1d2d801acb16

server-jre-8u271-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243746_61ae65e088624f5aaa0b1d2d801acb16

server-jre-8u271-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243747_61ae65e088624f5aaa0b1d2d801acb16

server-jre-8u271-windows-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243748_61ae65e088624f5aaa0b1d2d801acb16

xpiinstall.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243749_61ae65e088624f5aaa0b1d2d801acb16

JavaSetup8u271.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243750_61ae65e088624f5aaa0b1d2d801acb16

chromeinstall.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243751_61ae65e088624f5aaa0b1d2d801acb16

Downloaded for my Mac through here. Thanks alot

@itstartstosnow
Copy link

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

Saves the day

Thanks! It worked for me as well!

@3elDU
Copy link

3elDU commented Nov 24, 2020

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

Thanks! That worked for me too!

@TTothh
Copy link

TTothh commented Nov 26, 2020

jdk-8u271-docs-all.zip
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243704_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-aarch64.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243705_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-aarch64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243706_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-arm32-vfp-hflt.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243707_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-arm64-vfp-hflt.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243708_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-i586.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243709_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-i586.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243710_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-x64.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243711_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243712_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-macosx-x64.dmg
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243713_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-solaris-sparcv9.tar.Z
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243714_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243715_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-solaris-x64.tar.Z
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243716_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243717_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-windows-i586.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243718_61ae65e088624f5aaa0b1d2d801acb16

jdk-8u271-windows-x64.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243719_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-aarch64.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243722_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-aarch64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243723_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-i586.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243724_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-i586.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243725_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-x64.rpm
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243726_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243727_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-macosx-x64.dmg
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243728_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-macosx-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243729_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-macosx-x64_pkg.dmg
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243730_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243731_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243732_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-au.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243733_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-i586-iftw.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243734_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-i586.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243735_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-i586.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243736_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-x64.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243737_61ae65e088624f5aaa0b1d2d801acb16

jre-8u271-windows-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243738_61ae65e088624f5aaa0b1d2d801acb16

au.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243739_61ae65e088624f5aaa0b1d2d801acb16

jre1.8.0_271full.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243740_61ae65e088624f5aaa0b1d2d801acb16

jre1.8.0_271full64.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243741_61ae65e088624f5aaa0b1d2d801acb16

jre1.8.0_271patch.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243742_61ae65e088624f5aaa0b1d2d801acb16

jre1.8.0_271patch64.msi
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243743_61ae65e088624f5aaa0b1d2d801acb16

jxpiinstall.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243744_61ae65e088624f5aaa0b1d2d801acb16

server-jre-8u271-linux-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243745_61ae65e088624f5aaa0b1d2d801acb16

server-jre-8u271-solaris-sparcv9.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243746_61ae65e088624f5aaa0b1d2d801acb16

server-jre-8u271-solaris-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243747_61ae65e088624f5aaa0b1d2d801acb16

server-jre-8u271-windows-x64.tar.gz
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243748_61ae65e088624f5aaa0b1d2d801acb16

xpiinstall.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243749_61ae65e088624f5aaa0b1d2d801acb16

JavaSetup8u271.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243750_61ae65e088624f5aaa0b1d2d801acb16

chromeinstall.exe
https://javadl.oracle.com/webapps/download/AutoDL?BundleId=243751_61ae65e088624f5aaa0b1d2d801acb16

still working as of 2020.11.26

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