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

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

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

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

eya118 commented Nov 2, 2021

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

@silviokuehn
Copy link

silviokuehn commented Nov 3, 2021

Not working anymore...

Does somebody know, if TechSpot (https://www.techspot.com/downloads/5553-java-jdk.html) is a secure download source for that?

@Chicior9001
Copy link

Okay, so I spent like a couple of hours looking for a way to download the file (in my case it was JDK-16.0.2) without login in but it turns out it was a complete waste of my time as I failed to do so. So for those who actually don't want to waste their time like me just create an account with fake info and download it, it's really not that big of a deal. Here, you can use this https://www.fakeaddressgenerator.com as well as any other fake info generator and it will most probably work. Sometimes the most simple of solutions work best.

@hotis
Copy link

hotis commented Nov 18, 2021

@silviokuehn

Not working anymore...

Does somebody know, if TechSpot (https://www.techspot.com/downloads/5553-java-jdk.html) is a secure download source for that?

I think, yes. I compared checksums, they are OK.

@silviokuehn
Copy link

I think, yes. I compared checksums, they are OK.

👍

@Ryan-Haines
Copy link

Okay, so I spent like a couple of hours looking for a way to download the file (in my case it was JDK-16.0.2) without login in but it turns out it was a complete waste of my time as I failed to do so. So for those who actually don't want to waste their time like me just create an account with fake info and download it, it's really not that big of a deal. Here, you can use this https://www.fakeaddressgenerator.com as well as any other fake info generator and it will most probably work. Sometimes the most simple of solutions work best.

There's a browser extension that makes this even easier: https://fakefiller.com/

@Lampe2020
Copy link

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

...first looked as if it worked but the file it downloaded was actually a chrushed-down version of the login page saved as "jdk-12.0.2_linux-x64_bin.tar.gz".

@muratsgt
Copy link

muratsgt commented Dec 4, 2021

It works thanks , 👍

@JamesSmith888
Copy link

i just want to say:fuck oracle

@aasimenator
Copy link

@943332358 +1

For everyone else, just use http://bugmenot.com/view/oracle.com
and use the first login provided to sign in, it works. I just tested it.

Copy link

ghost commented Dec 16, 2021

anyone got 8u20 linux x64 tar.gz?

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