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

rbarrx commented Aug 23, 2021

Thanks!!!!

@jincairen
Copy link

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

Still works. Thank you very much.

@omar115
Copy link

omar115 commented Aug 25, 2021

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

works for me. Thank you very much.

@Zahmir2412
Copy link

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

JhonAlx commented Aug 31, 2021

ty, fuck Oracle

@pankaj8096
Copy link

otn-pub still works

@0xc030
Copy link

0xc030 commented Sep 5, 2021

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

hkilimci commented Sep 7, 2021

it works perfect although the login page appears.

@wittyTechPhenix
Copy link

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

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

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

alimsk commented Sep 18, 2021

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

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

shivamnaik98 commented Sep 19, 2021

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

@starchivore
Copy link

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

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

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

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

@Alynva
Copy link

Alynva commented Oct 3, 2021

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

MandoDB commented Oct 4, 2021

@CypherpunkSamurai
Copy link

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

Slddev commented Oct 10, 2021

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

SQL developer for Linux

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

@Dan-Do
Copy link

Dan-Do commented Oct 15, 2021

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

@gratakula
Copy link

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

noobio3 commented Oct 21, 2021

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

@Cali4niaWK
Copy link

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.

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