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
@kadiwa4
Copy link

kadiwa4 commented Aug 8, 2020

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

@dicamarques14
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

@BukeMan
Copy link

BukeMan commented Aug 10, 2020

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

Thank you so much! It worked!

@ApetweBc
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 bro

@interbiznw
Copy link

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

Works great, thanks!

@rathaROG
Copy link

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

Cool! Works for all platforms. Thanks!

@agungvr
Copy link

agungvr commented Aug 14, 2020

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

Wow, it worked! Thank you

Copy link

ghost commented Aug 14, 2020

Oracle Java jdk

8 LTS jdk 8u26-windows-x64.exe
https://drive.google.com/file/d/1MLpbLJNfW7Rbtyt-OmqAxdklHLuDLsox/view?usp=sharing

11 LTS jdk 11.0.8_windows-x64.exe
https://drive.google.com/file/d/1ZDMTvNDA2l8LblfHgDczCuMGHLZuP9yA/view?usp=sharing

docs on official Oracle website

@deadman2000
Copy link

@kadiwa4
Copy link

kadiwa4 commented Aug 14, 2020

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

it’s for java 8 or lower :)
I couldn’t figure out how to download java 11 files (without logging in) so they’re not supported

@rathaROG
Copy link

rathaROG commented Aug 15, 2020

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

@aneudysamparo
Copy link

New bypass,

Go to
https://www.oracle.com/java/technologies/javase-jdk14-downloads.html
You must accept the License Agreement, and copy the link and paste on new tab / window

Hit enter and have fun 🎉

@Unaccountable
Copy link

New bypass,

Go to
https://www.oracle.com/java/technologies/javase-jdk14-downloads.html
You must accept the License Agreement, and copy the link and paste on new tab / window

Hit enter and have fun 🎉

Thank you! Works like a charm!

@cem94
Copy link

cem94 commented Aug 20, 2020

Any solution for Java 8?

@TheSnowfield
Copy link

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

It works perfectly for JRE! (。・∀・)ノ゙
But I have no luck for JDK.

@YousraMashkoor
Copy link

New bypass,

Go to
https://www.oracle.com/java/technologies/javase-jdk14-downloads.html
You must accept the License Agreement, and copy the link and paste on new tab / window

Hit enter and have fun 🎉

This worked for me! Thank you

@timkinsman
Copy link

timkinsman commented Sep 1, 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

Thanks! all this work just to use cordova-android! ...

@tr15tan
Copy link

tr15tan commented Sep 1, 2020

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

saved my day~

@elizavetakotova1999
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

Thanks! all this work just to use cordova-android! ...

It really works!!! Thanks)))

@hoefler02
Copy link

Used temp-mail.org to make a dummy account:
[email protected]:Asdf1234
Enjoy!

@Evigami
Copy link

Evigami commented Sep 2, 2020

Thank You So Much!

@VasseurLaurent
Copy link

Hello guys,

It seems not working for me

from original link :
https://www.oracle.com/webapps/redirect/signon?nexturl=https://download.oracle.com/otn/java/jdk/7u80-b15/jdk-7u80-windows-x64.exe

I tried :

wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-windows-x64.exe

wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn/java/jdk/7u80-b15/jdk-7u80-windows-x64.exe

(from @tr15tan website) wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://javadl.oracle.com/webapps/download/GetFile/1.7.0_80-b15/windows-i586/jdk-7u80-windows-x64.exe

Do you have any idea ?

@JiaruiTracy
Copy link

http://enos.itcollege.ee/~jpoial/allalaadimised/jdk8/

Thank you so much, the best solution for me!

@imro2
Copy link

imro2 commented Sep 7, 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

@DaivikGoel
Copy link

Used temp-mail.org to make a dummy account:
[email protected]:Asdf1234
Enjoy!

Thank you so much!

@junxdev
Copy link

junxdev commented Sep 19, 2020

For Linux user using shell to download Java SE Development Kit 8u261
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://javadl.oracle.com/webapps/download/GetFile/1.8.0_261-b12/a4634525489241b9a9e1aa73d9e118e6/linux-i586/jdk-8u261-linux-x64.tar.gz

@Kritish58
Copy link

jdk-8u231-windows-x64:
https://mega.nz/#F!EolCyShY!D0QUZdcafG1mUXbqWywFsg

thank you so much

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