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

Copy link
Copy Markdown

To download any JRE or JDK from the Oracle download page without signing in, go to the downloads page for the version you want (such as https://www.oracle.com/java/technologies/jdk12-downloads.html) and click on the Download link of your choice.

1. When a window pops up saying you need to accept the license agreement, check the box that says you agree. But instead of clicking on the green Download link (which will send you to the login page), right-click the download link and select Copy Link Location.
   
   * **NOTE:** If clicking Download doesn't show a box and takes you straight to the login page instead, you will need to clear your cookies on the Java website (or open in incognito mode).

2. Paste the copied link into a text editor like Notepad. You'll see the link points to something like `oracle.com/webapps/redirect/signon`, but it has a query attached that starts with "`nexturl=`". The URL that follows `nexturl=` is the actual link that will download the file to your computer.

If you want to download any JRE or JDK without signing into Oracle, go to the downloads page for the version you want (such as https://www.oracle.com/java/technologies/jdk12-downloads.html) and right-click on the Download link of your choice. Select "Copy Link Location" and then paste it into a text editor like Notepad.

NOTE: you may need to change the otn in the path to otn-pub as described below.

It Work Nice

@JhonAlx

JhonAlx commented Aug 31, 2021

Copy link
Copy Markdown

ty, fuck Oracle

@pankaj8096

Copy link
Copy Markdown

otn-pub still works

@0xc030

0xc030 commented Sep 5, 2021

Copy link
Copy Markdown

Hey guys, Just Created this user script for everyone :)
https://github.com/CypherpunkSamurai/oracle-signup-bypass
https://greasyfork.org/en/scripts/430459-oracle-signup-bypass

Manual Way (any device)

  • Go to the download page
  • Follow the what @intrepidOlivia said above.
  • Copy the download link
  • Replace download.oracle.com with edelivery.oracle.com.
  • Download :)

Using Userscipts

Instructions

ty it work
#fuckOracle

@hkilimci

hkilimci commented Sep 7, 2021

Copy link
Copy Markdown

it works perfect although the login page appears.

@TheiaCode

Copy link
Copy Markdown

If you want to download any JRE or JDK without signing into Oracle, go to the downloads page for the version you want (such as https://www.oracle.com/java/technologies/jdk12-downloads.html) and right-click on the Download link of your choice. Select "Copy Link Location" and then paste it into a text editor like Notepad. You'll see the link points to something like oracle.com/webapps/redirect/signon, but it has a query attached that starts with "nexturl=". The URL that follows nexturl= is the actual link that will download the file to your computer.

Thank you bud.

Just one correction or input
After "nexturl" , the place where it says "otn", it should be "otn-pub"

@driedler

Copy link
Copy Markdown

None of the above was working for me, however, the links here seem to work without requiring a login:
https://www.java.com/en/download/manual.jsp

@SahalMoh

Copy link
Copy Markdown

If you want to download any JRE or JDK without signing into Oracle, go to the downloads page for the version you want (such as https://www.oracle.com/java/technologies/jdk12-downloads.html) and right-click on the Download link of your choice. Select "Copy Link Location" and then paste it into a text editor like Notepad. You'll see the link points to something like oracle.com/webapps/redirect/signon, but it has a query attached that starts with "nexturl=". The URL that follows nexturl= is the actual link that will download the file to your computer.

Thank you bud.

Just one correction or input
After "nexturl" , the place where it says "otn", it should be "otn-pub"

This one works as of 15-09-2021.
Thanks :D

@alimsk

alimsk commented Sep 18, 2021

Copy link
Copy Markdown

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

that seem doesn't work anymore

https://download.oracle.com/otn-pub/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/jdk-8u202-linux-x64.tar.gz

@SahalMoh

Copy link
Copy Markdown

that seem doesn't work anymore https://download.oracle.com/otn-pub/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/jdk-8u202-linux-x64.tar.gz

yeah you're right. it's like oracle patched it out after seeing this gist

@shivamnaik98

shivamnaik98 commented Sep 19, 2021

Copy link
Copy Markdown

Can I get the download link for Java SE Runtime Environment 1.8.0_292-b10? @starchivore

@starchivore

Copy link
Copy Markdown

Can I get the download link for Java SE Runtime Environment 1.8.0_292-b10? @starchivore

Oracle never released an "official version" of 1.8.0_292-b10 and they're only providing 1.8.0_291-b10 as follows:

https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html

1.8.0_292-b10 could be downloaded from RedHat etc. if you're actually looking for that specific version:

https://developers.redhat.com/products/openjdk/download

https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/tag/jdk8u292-b10

@shivamnaik98

Copy link
Copy Markdown

Thanks @starchivore! But the RedHat one also asks for sign up same as the Oracle once. But thanks for providing the alternatives! Appreciate it

@yinzixie

Copy link
Copy Markdown

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

that seem doesn't work anymore

https://download.oracle.com/otn-pub/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/jdk-8u202-linux-x64.tar.gz

It works just remember to get your own unique url first:

Go to the oracle download page and accept the license agreement.

Right click on the package you want to download and copy the link - you should see something like https://download.oracle.com/otn/java/jdk/xxxxx/xxxxxx/jre-8u241-windows-x64.exe

Replace the otn with otn-pub in the above URI

@Faksprod

Copy link
Copy Markdown

Replacing /otn/ by /otn-pub/ in the URL worked. Thanks for the tips 🙏

@sheriffjimoh

Copy link
Copy Markdown

@Alynva

Alynva commented Oct 3, 2021

Copy link
Copy Markdown

hey, this worked for me : https://download.oracle.com/otn-pub/java/jdk/8u301-b09/d3c52aa6bfa54d3ca74e617f18309292/jdk-8u301-windows-x64.exe

where did you found the 8u301 ? I can only find up to 8u291

@MandoDB

MandoDB commented Oct 4, 2021

Copy link
Copy Markdown

@CypherpunkSamurai

Copy link
Copy Markdown

I'm trying to download SQL developer for Linux, any help? None of above solutions worked for me

Try my userscript. Let me know if it works. You can also find it above, and also in my repos

@Slddev

Slddev commented Oct 10, 2021

Copy link
Copy Markdown

I'm trying to download SQL developer for Linux, any help? None of above solutions worked for me

same

I'm trying to download SQL developer for Linux, any help? None of above solutions worked for me

Try my userscript. Let me know if it works. You can also find it above, and also in my repos

I tried your userscript aswell. Doesn't work anymore.

@CypherpunkSamurai

Copy link
Copy Markdown

SQL developer for Linux

Hm. This isn't working for SQL Developer only. Java pages work fine.

@namila007

Copy link
Copy Markdown

@Dan-Do

Dan-Do commented Oct 15, 2021

Copy link
Copy Markdown

Replacing /otn/ by /otn-pub/ in the URL worked. Thanks for the tips 🙏

Does not work for me
https://download.oracle.com/otn/java/jdk/8u301-b09/d3c52aa6bfa54d3ca74e617f18309292/jre-8u301-windows-x64.tar.gz

@rathaROG

Copy link
Copy Markdown

@gratakula

Copy link
Copy Markdown

Anyway, I manged to create an account. If somebody of you guys is desperate of trying, please contact me, and I'll download it for you. I can't put the account here because Oracle politics will ban it if they find out it is being used by more than one person. ghd{at}keemail.me -- Oct 10, 2021, 16:07 by @.***:

@CypherpunkSamurai> commented on this gist. > > SQL developer for Linux > > Hm. This isn't working for SQL Developer only. Java pages work fine. — You are receiving this because you commented. Reply to this email directly, > view it on GitHub https://gist.github.com/ba8425f24a968ec9b2a8619d7c2d86a6#gistcomment-3922260> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/ARVKOPY2GPSTS6CJPNAWHPDUGGMYNANCNFSM4HPK7KNA> . Triage notifications on the go with GitHub Mobile for > iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or > Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub> .

I need a Java ME and I can't manage to download it without creating an account, can you download them for me please?
The link is http://download.oracle.com/otn/java/javame/8/oracle-jmesdk-8-3-rr-linux-bin.sh

@noobio3

noobio3 commented Oct 21, 2021

Copy link
Copy Markdown

someone get me a JDK 7 windows 86x version i am too dumb to do it please

@Cali4niaWK

Copy link
Copy Markdown

Hi guys. Im currently looking for Java Runtime Environment 6.0 Update 211 which has a file name of "jre-6u211-windows-i586.exe" & "jre-6u211-windows-x64.exe" also im looking for Java Runtime Environment 7.0 Update 301 which has a file name of "jre-7u301-windows-i586.exe" & "jre-7u301-windows-x64.exe"

I know these are not publicly available through Oracle but was hoping someone could post them or guide me in the right direction if they can find them for me. I do various things with older versions of Java with older computers is why I'm looking for these latest versions. Thanks guys.

@CypherpunkSamurai

Copy link
Copy Markdown

Hi guys. Im currently looking for Java Runtime Environment 6.0 Update 211 which has a file name of "jre-6u211-windows-i586.exe" & "jre-6u211-windows-x64.exe" also im looking for Java Runtime Environment 7.0 Update 301 which has a file name of "jre-7u301-windows-

I made a userscript for it. check https://greasyfork.org/en/scripts/430459-oracle-signup-bypass
you'll need tampermonkey / greasemonkey / violentmonkey browser plugin.

@Cali4niaWK

Copy link
Copy Markdown

Hi guys. Im currently looking for Java Runtime Environment 6.0 Update 211 which has a file name of "jre-6u211-windows-i586.exe" & "jre-6u211-windows-x64.exe" also im looking for Java Runtime Environment 7.0 Update 301 which has a file name of "jre-7u301-windows-

I made a userscript for it. check https://greasyfork.org/en/scripts/430459-oracle-signup-bypass you'll need tampermonkey / greasemonkey / violentmonkey browser plugin.

Thanks for the script, but this does not help me to find the JRE6 or JRE7 extended release versions I'm looking for to be able to download them.

@eya118

eya118 commented Nov 2, 2021

Copy link
Copy Markdown

To download any JRE or JDK from the Oracle download page without signing in, go to the downloads page for the version you want (such as https://www.oracle.com/java/technologies/jdk12-downloads.html) and click on the Download link of your choice.

  1. When a window pops up saying you need to accept the license agreement, check the box that says you agree. But instead of clicking on the green Download link (which will send you to the login page), right-click the download link and select Copy Link Location.

    • NOTE: If clicking Download doesn't show a box and takes you straight to the login page instead, you will need to clear your cookies on the Java website (or open in incognito mode).
  2. Paste the copied link into a text editor like Notepad. You'll see the link points to something like oracle.com/webapps/redirect/signon, but it has a query attached that starts with "nexturl=". The URL that follows nexturl= is the actual link that will download the file to your computer.

If you want to download any JRE or JDK without signing into Oracle, go to the downloads page for the version you want (such as https://www.oracle.com/java/technologies/jdk12-downloads.html) and right-click on the Download link of your choice. Select "Copy Link Location" and then paste it into a text editor like Notepad.

NOTE: you may need to change the otn in the path to otn-pub as described below.

thank you bod it did work with the replacing otn with otn-pub

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