Skip to content

Instantly share code, notes, and snippets.

@wavezhang
Last active June 10, 2026 07:36
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
@daweedm

daweedm commented Aug 4, 2020

Copy link
Copy Markdown

The existence of this page and discussion is a fine testament of how shitty Oracle is.

I agree

@hajeklu

hajeklu commented Aug 4, 2020

Copy link
Copy Markdown

The existence of this page and discussion is a fine testament of how shitty Oracle is.

Exactly

@edgarchinchilla

Copy link
Copy Markdown

(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

@Coffee662

Copy link
Copy Markdown

any way to download Oracle Java ME SDK 8.3.1 for Windows without login? no success with the instructions above.

@CDRedstone

Copy link
Copy Markdown

Oracle is getting greedy, all i needed was java 8 to run a spigot minecraft server. Then i got redirected to make an account. The thing that makes me mad the most is how much information is required to sign up. Your exact location, the job you work at(What if you are a youtuber?), your work phone, your full name, and i read the fine text, so no thank you, oracle and thank you for destroying java and becoming the definition of adware.

@kadiwa4

kadiwa4 commented Aug 8, 2020

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.

@dicamarques14

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.

Thank you

@oleksiyserg

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.

Thank you so much! It worked!

@ApetweBc

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.

Thank you bro

@interbiznw

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.

Works great, thanks!

@rathaROG

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.

Cool! Works for all platforms. Thanks!

@agungvr

agungvr commented Aug 14, 2020

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.

Wow, it worked! Thank you

ghost commented Aug 14, 2020

Copy link
Copy Markdown

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

@kadiwa4

kadiwa4 commented Aug 14, 2020

Copy link
Copy Markdown

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

rathaROG commented Aug 15, 2020

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

@hellisabove

Copy link
Copy Markdown

@aneudysamparo

Copy link
Copy Markdown

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

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

cem94 commented Aug 20, 2020

Copy link
Copy Markdown

Any solution for Java 8?

@kadiwa4

kadiwa4 commented Aug 20, 2020

Copy link
Copy Markdown

@TheSnowfield

Copy link
Copy Markdown

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

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

timkinsman commented Sep 1, 2020

Copy link
Copy Markdown

(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

tr15tan commented Sep 1, 2020

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

saved my day~

@elizavetakotova1999

Copy link
Copy Markdown

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

Used temp-mail.org to make a dummy account:
fiyewas243@faxapdf.com:Asdf1234
Enjoy!

@Evigami

Evigami commented Sep 2, 2020

Copy link
Copy Markdown

Thank You So Much!

@VasseurLaurent

Copy link
Copy Markdown

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

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

Thank you so much, the best solution for me!

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