-
-
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 |
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!!!
I got mine by replacing
otn
in the URL withotn-pub
, maybe that might help someone?
Still works! Thanks Peter!
Thanks to all the tips above I was able to download the JDK 11 using this link:
https://download.oracle.com/otn-pub/java/jdk/11.0.10%2B8/020c4a6d33b74f6a9d2bc6fbf189da81/jdk-11.0.10_osx-x64_bin.dmg
"Я получил свой, заменив otnURL-адрес на otn-pub" - работает!! (19.03.21г)
ссылка
https://download.oracle.com/otn-pub/java/jdk/8u281-b09/89d678f2be164786b292527658ca1605/jre-8u281-windows-x64.tar.gz
плюс Internet Download Manager 6.36
Спасибо!!
НО: как установить полученное? (простите пожалуйста за невежество)
"Я получил свой, заменив otnURL-адрес на otn-pub" - работает!! (19.03.21г)
ссылка
download.oracle.com/otn-pub/java/jdk/8u281-b09/89d678f2be164786b292527658ca1605/jre-8u281-windows-x64.tar.gz
плюс Internet Download Manager 6.36
Спасибо!!
НО: как установить полученное? (простите пожалуйста за невежество)
English would be better.
From what I understand you want to know how to install the archive you downloaded.
You should download the executable .exe
instead, like any other software for Windows.
Use sdkman - https://sdkman.io/
- List all support java version
sdk list java
- Install your preffered version
sdk install java <Idetifier>
Thanks to intrepidOlivia!
Here's a link for JDK 11.0.11 for Windows x64:
https://download.oracle.com/otn-pub/java/jdk/11.0.11%2B9/ab2da78f32ed489abb3ff52fd0a02b1c/jdk-11.0.11_windows-x64_bin.exe
Link for JDK 8u291 (Windows x64) if someone happens to be looking for that:
https://download.oracle.com/otn-pub/java/jdk/8u291-b10/d7fc238d0cbf4b0dac67be84580cfb4b/jdk-8u291-windows-x64.exe
Thanks :)
otn-pub trick still works like a charm! Thanks for finding this and saving me!
For those wondering: Click on link of file you want, accept agreement checkbox, right click on the green button and "copy address". Paste this into url and keep everything after "nextUrl=". Change "otn" to "otn-pub", and press enter.
Link for JDK 8u291 (Windows x64) if someone happens to be looking for that:
https://download.oracle.com/otn-pub/java/jdk/8u291-b10/d7fc238d0cbf4b0dac67be84580cfb4b/jdk-8u291-windows-x64.exe
Thanks!
(Personal note only) How to generate link for the future update:
- Go to https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
- Click on the wanted exe file and accept the license agreement
- Get the link from the download button
For example:
https://www.oracle.com/webapps/redirect/signon?nexturl=https://download.oracle.com/otn/java/jdk/8u261-b12/a4634525489241b9a9e1aa73d9e118e6/jdk-8u261-windows-x64.exe
- Add necessary info into this link:
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_[xxx]-b[xx]/[encrypted_path]/windows-i586/[file_name_exe]
[xxx]
is the update number; for example261
[xx]
is the build number; for example12
[encrypted_path]
is the encrypted path; for examplea4634525489241b9a9e1aa73d9e118e6
[file_name_exe]
is the exe file name; for examplejdk-8u261-windows-x64.exe
- Final and ready download link will be:
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_261-b12/a4634525489241b9a9e1aa73d9e118e6/windows-i586/jdk-8u261-windows-x64.exe
Still works ^_^
Go to:
https://www.oracle.com/java/technologies/javase-jdk16-downloads.html#license-lightbox
Read under:
Important Oracle JDK License Update
The Oracle JDK License has changed for releases starting April 16, 2019.
Oracle also provides the latest OpenJDK release under the open source GPL License at jdk.java.net.
Then go to:
Java Platform, Standard Edition 16 Reference Implementations:
RI Binary (build 16+36) under the GNU General Public License version 2
Oracle Linux 7.8 x64 Java Development Kit (sha256) 176 MB
Windows 10 x64 Java Development Kit (sha256) 176 MB
https://jdk.java.net/java-se-ri/16
I hope this helps
(Personal note only) How to generate link for the future update:
- Go to https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
- Click on the wanted exe file and accept the license agreement
- Get the link from the download button
For example:
https://www.oracle.com/webapps/redirect/signon?nexturl=https://download.oracle.com/otn/java/jdk/8u261-b12/a4634525489241b9a9e1aa73d9e118e6/jdk-8u261-windows-x64.exe
- Add necessary info into this link:
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_[xxx]-b[xx]/[encrypted_path]/windows-i586/[file_name_exe]
[xxx]
is the update number; for example261
[xx]
is the build number; for example12
[encrypted_path]
is the encrypted path; for examplea4634525489241b9a9e1aa73d9e118e6
[file_name_exe]
is the exe file name; for examplejdk-8u261-windows-x64.exe
- Final and ready download link will be:
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_261-b12/a4634525489241b9a9e1aa73d9e118e6/windows-i586/jdk-8u261-windows-x64.exeStill works ^_^
thanks @rathaROG
my post https://juejin.cn/post/6844903945194733575/#heading-1 ,Translation and reference your answer
thanks all
it's working for me with just replace "otn" to "otn-pub", like this :
https://download.oracle.com/otn/java/jdk/11.0.11%2B9/ab2da78f32ed489abb3ff52fd0a02b1c/jdk-11.0.11_windows-x64_bin.exe
jdk8+ ok ,but jdk8 not
thanks all
it's working for me with just replace "otn" to "otn-pub", like this :
https://download.oracle.com/otn/java/jdk/11.0.11%2B9/ab2da78f32ed489abb3ff52fd0a02b1c/jdk-11.0.11_windows-x64_bin.exe
Has anyone gotten it to work for jdk8u202?
When I try with "otn", it downloads a HTML header. When I try with "otn-pub", it gives a 404 error
wget -c --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/jdk-8u202-linux-x64.tar.gz
You're awesome, Dude! Thx a lot.