-
-
Save wavezhang/ba8425f24a968ec9b2a8619d7c2d86a6 to your computer and use it in GitHub Desktop.
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 |
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.
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).
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 followsnexturl=
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 tootn-pub
as described below.
Thanks, this worked for me.
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 followsnexturl=
is the actual link that will download the file to your computer.it doesnt work for me
just change the oth to otn-pub
Thanks for this discussion, I managed to download JDK 11 to support WSO2 API-Manager on my machine.
I got mine by replacing
otn
in the URL withotn-pub
, maybe that might help someone?
Thanks Bro Worked well
Thanks, bro
otn -> oth-pub still working like a charm, thanks!
Thank you. That this thread exists is pretty telling of just how incredibly infuriating putting downloads behind a login wall is. Oracle wonders why it has been left behind in 2000s.
Hey oracle, thanks for ruining java! ~
Thanks for this discussion, I managed to download JDK 11 to support WSO2 API-Manager on my machine.
Thank u very much!
Results of current discussion:
and replace otn
with otn-pub
.
I got mine by replacing
otn
in the URL withotn-pub
, maybe that might help someone?
still works, legend, thanks
This doesn't work for older distros like JRE 8u60
I NEED JDK (SE 6) 32 BIT, FOR MY PyCharm, can anyone post the link for it?
I got mine by replacing
otn
in the URL withotn-pub
, maybe that might help someone?
thanks! still works to this day!
Three ways:
- Go to https://github.com/wolfhong/jdk-archive, get your link, and change
otn
tootn-pub
. If didn't work, do 2. - Get link at https://github.com/wolfhong/jdk-archive, but without changes. Use
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie"
with your link. - Get your number at http://svn.jetbrains.org/teamcity/plugins/tool-installer/trunk/jre-table.txt and replace ###### with your number
herehttp://javadl.oracle.com/webapps/download/AutoDL?BundleId=######
- Two way maybe not work
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
You're awesome, Dude! Thx a lot.
Oh why oh why do they do this !!!
and replace
otn
withotn-pub
.
works like a charm!!
I got mine by replacing
otn
in the URL withotn-pub
, maybe that might help someone?
You just saved another 1 hour for me. Thanks pal
I got mine by replacing
otn
in the URL withotn-pub
, maybe that might help someone?
It works for me. Thanks~
https://www.oracle.com/java/technologies/javase-jdk14-downloads.html
if not try these accounts:http://bugmenot.com/view/oracle.com
lmao, thank you for the link.
Hey, uhh.... A little late, but this doesn't seem to be working. (2/28/2021)
Was it patched? Is there another way?
I need this: https://download.oracle.com/otn-pub/java/jdk/8u51-b16/jdk-8u51-windows-x64.exe
wget the "nexturl" with the otn
changed to otn-pub
Results of current discussion:
and replace
otn
withotn-pub
.
This worked like a charm thanks so much!!!
First clear yout cookies for the website and then go to:
https://download.oracle.com/otn-pub/java/jdk/11.0.10%2B8/020c4a6d33b74f6a9d2bc6fbf189da81/jdk-11.0.10_windows-x64_bin.exe