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

@imro2

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

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

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

Thank you so much!

@junxdev

junxdev commented Sep 19, 2020

Copy link
Copy Markdown

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

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

thank you so much

@pasaporteN25

Copy link
Copy Markdown

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

Tanks for this man, save me to do the same haha

@Chibrow

Chibrow commented Sep 25, 2020

Copy link
Copy Markdown

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

Still working, many thanks

ghost commented Sep 27, 2020

Copy link
Copy Markdown

that worked. thank you so much!!

@Me829316

Copy link
Copy Markdown

I made a fake account to get into oracle and tried to download Java JRE 8
but it didnt work

@JozefKuco

JozefKuco commented Sep 30, 2020

Copy link
Copy Markdown

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

still working, thanks.

@Maher133

Copy link
Copy Markdown

@mariusvn

mariusvn commented Oct 1, 2020

Copy link
Copy Markdown

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

I like you <3

@elijahtsai

Copy link
Copy Markdown

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

Thanks!!

@MokkaSchnalle

Copy link
Copy Markdown

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

Thanks!! πŸ‘

@Driaan

Driaan commented Oct 2, 2020

Copy link
Copy Markdown

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

Thanks!

ghost commented Oct 3, 2020

Copy link
Copy Markdown

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

Thanks Man!πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘

ghost commented Oct 5, 2020

Copy link
Copy Markdown

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

thank u so fucking much holy shit

@diaeddine97

diaeddine97 commented Oct 5, 2020

Copy link
Copy Markdown

after reading comments, these ones (right click on button to get link) + (nexturl link) + (replacing otn to otn-pub works)
Example:
https://download.oracle.com/otn-pub/java/jdk/11.0.8%2B10/dc5cf74f97104e8eac863698146a7ac3/jdk-11.0.8_windows-x64_bin.exe

Note that this link may not work, you need to get link from button inside the accept agreement modal
Hope this helped

@grantbourne27

grantbourne27 commented Oct 6, 2020

Copy link
Copy Markdown

More Logins:
http://bugmenot.com/view/oracle.com
Its kinda buggy, but the logins work. (most of the time)

I managed to get Java 7 using one of these logins, you just need to try different ones.

@matheusmurta

Copy link
Copy Markdown

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

Login ass

hoi@muellmail.com
Qwert1234

@bfgh012

bfgh012 commented Oct 9, 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

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 πŸ‘πŸ‘πŸ‘πŸ‘πŸ‘

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