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

The otn-pub trick works as of now. Thank you.

@ChandrikaSuryanarayana
Copy link

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

This works after adding otn-pub to the next url :)

@delvinwidjaja
Copy link

Apparently oracle doesn't force visitors to create an account anymore, as I was able to download jdk 16 for windows without an account.
Can someone confirm?

For the latest version you won't need an account.

@1reverseengineer
Copy link

How can I deactivate notifications for this particular discussion? Ever since I wrote one comment here I receive email after email for every comment.

@datduong56
Copy link

@FetchFast
Copy link

This one worked for me: 01/08/2021
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/8u301-b09/d3c52aa6bfa54d3ca74e617f18309292/jre-8u301-linux-i586.tar.gz

@dalhaqq
Copy link

dalhaqq commented Aug 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.

Thanks, it works. At first it didnt work, but then I read your NOTE and it works

@neoacevedo
Copy link

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

It still works. Only I need to paste the URL in the browser, replace otn with otn-pub and et voilá.

@penguindance
Copy link

Hey everyone,

I am wondering why it still works for you, because in my case it is not working anymore.

This is the link I got by right cklicking on the download button:
https://www.oracle.com/nexturl=https://download.oracle.com/otn/java/jdk/9.0.4+11/c2514751926b4512b076cc82f959763f/jre-9.0.4_windows-x64_bin.exe

And then I followed your instructions and extracted this url:
https://download.oracle.com/otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f959763f/jre-9.0.4_windows-x64_bin.exe

When inserting this in the browser, I am getting to a website saying "We're sorry, the page you requested was not found."

Did I miss something? or does it depend on the browser I am using, which is in my case firefox?
First I thougt maybe oracle found that people can access their data without logging in, but then I saw, that neoacevedo just posted his answer 12 hours ago? :D

@starchivore
Copy link

Did I miss something? or does it depend on the browser I am using, which is in my case firefox?

It doesn't matter, this one will work just fine with everything:

https://javadl.oracle.com/webapps/download/GetFile/9.0.4+11/c2514751926b4512b076cc82f959763f/windows-i586/jre-9.0.4_windows-x64_bin.exe

@penguindance
Copy link

@starchivore: thank you, that works :)

@abdultz
Copy link

abdultz commented Aug 7, 2021

Use this account to login:
[email protected]
Oracle123.

@CypherpunkSamurai
Copy link

CypherpunkSamurai commented Aug 7, 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

@Nila54
Copy link

Nila54 commented Aug 17, 2021

It works with otn-pub.

thanks!

@dinarde
Copy link

dinarde commented Aug 18, 2021

Owwww Tks!!! Its work without oracle login for dist to users

@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

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