-
-
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 |
why did oracle made it so difficult to get downgrade to the Java
jdk-8u231-windows-x64:
https://mega.nz/#F!EolCyShY!D0QUZdcafG1mUXbqWywFsg
Thanks
When you click the link to download, you are provided with a pop-up to agree with terms and condition
- Agree by clicking the check box (download link is green now)
- Right click on the green button(download) and copy the url
- Take only the url after "nexturl" and change 'otn' to 'otn-pub' and copy the whole new url
(e.g. https://download.oracle.com/otn-pub/java/jdk/8u271-b09/61ae65e088624f5aaa0b1d2d801acb16/jdk-8u271-linux-aarch64.tar.gz) - Click the download button, it will take you to login page
- On the login page just change the url to the one copied in step 3 and hit enter
You are done !!
Cheers 👍
When you click the link to download, you are provided with a pop-up to agree with terms and condition
- Agree by clicking the check box (download link is green now)
- Right click on the green button(download) and copy the url
- Take only the url after "nexturl" and change 'otn' to 'otn-pub' and copy the whole new url
(e.g. https://download.oracle.com/otn-pub/java/jdk/8u271-b09/61ae65e088624f5aaa0b1d2d801acb16/jdk-8u271-linux-aarch64.tar.gz)- Click the download button, it will take you to login page
- On the login page just change the url to the one copied in step 3 and hit enter
You are done !!
Cheers 👍
Thank you! Working for me.
For Windows users looking to install the JRE, if you have winget setup you can just do winget install jre
When you click the link to download, you are provided with a pop-up to agree with terms and condition
- Agree by clicking the check box (download link is green now)
- Right click on the green button(download) and copy the url
- Take only the url after "nexturl" and change 'otn' to 'otn-pub' and copy the whole new url
(e.g. https://download.oracle.com/otn-pub/java/jdk/8u271-b09/61ae65e088624f5aaa0b1d2d801acb16/jdk-8u271-linux-aarch64.tar.gz)- Click the download button, it will take you to login page
- On the login page just change the url to the one copied in step 3 and hit enter
You are done !!
Cheers 👍
Working as of 12/20, thank you.
Worked like a charm! Cheers!
When you click the link to download, you are provided with a pop-up to agree with terms and condition
- Agree by clicking the check box (download link is green now)
- Right click on the green button(download) and copy the url
- Take only the url after "nexturl" and change 'otn' to 'otn-pub' and copy the whole new url
(e.g. https://download.oracle.com/otn-pub/java/jdk/8u271-b09/61ae65e088624f5aaa0b1d2d801acb16/jdk-8u271-linux-aarch64.tar.gz)- Click the download button, it will take you to login page
- On the login page just change the url to the one copied in step 3 and hit enter
You are done !!
Cheers 👍Working as of 12/20, thank you.
WINDOWS 64BIT LATEST VERSION AS OF 12/22/20
Is there some way I can do this but instead its Java SE 7 x64? Or maybe it's Java SDK 7 x64? I can't remember.
We're sorry, the page you requested was not found.
We have recorded this error (404) to help us fix the problem.
You may wish to try again using one of the tools below.
I made a small site that converts URLs in basically the same way @rathaROG did it. I hope it's useful.
Invalid download URL entered: https://www.oracle.com/webapps/redirect/signon?nexturl=https://download.oracle.com/otn/java/jdk/11.0.8%2B10/dc5cf74f97104e8eac863698146a7ac3/jdk-11.0.8_windows-x64_bin.exe
For version 11, just simply use the
otn-pub
trick... ;) However, you must accept the license agreement in order to generate a unique cookie or token before being able to download using this trick, or usewget
if you know what to do with it.Detail (Using your broswer):
* Go the official download page: https://www.oracle.com/java/technologies/javase-jdk11-downloads.html * **You must accept the License Agreement**, and copy the link or URL from the download button: `https://www.oracle.com/webapps/redirect/signon?nexturl=https://download.oracle.com/otn/java/jdk/11.0.8%2B10/dc5cf74f97104e8eac863698146a7ac3/jdk-11.0.8_windows-x64_bin.exe` * Remove everything before `=` and including the `=`: `https://download.oracle.com/otn/java/jdk/11.0.8%2B10/dc5cf74f97104e8eac863698146a7ac3/jdk-11.0.8_windows-x64_bin.exe` * Finally, change `otn` to `otn-pub` and `%2B` to `+`: `https://download.oracle.com/otn-pub/java/jdk/11.0.8+10/dc5cf74f97104e8eac863698146a7ac3/jdk-11.0.8_windows-x64_bin.exe`
Note:
* Using the final URL directly on your broswer will never works. **You must accept the License Agreement** first. * Or use `wget` if you already know the final link like this time: `wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/11.0.8+10/dc5cf74f97104e8eac863698146a7ac3/jdk-11.0.8_windows-x64_bin.exe`
This works for me. Thank you so much.
THANK YOU!
Oracle you messed up if so many people are just trying to avoid logging in.
Linux ARM 32 Hard Float ABI
https://repo.huaweicloud.com/java/jdk/8u151-b12/
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.Thank you bud.
Awesome.. it work for me..
In case anyone is confused by the instructions, here's what you need to do:
- 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/8u241-b07/1f5b5a70bf22433b84d0e960903adac8/jre-8u241-windows-x64.exe
- Replace the
otn
withotn-pub
in the above URI- Paste this new URI into your browser address bar or use
wget
aswget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/8u241-b07/1f5b5a70bf22433b84d0e960903adac8/jre-8u241-windows-x64.exe
Working as of 01/21, thank you.
I got mine by replacing
otn
in the URL withotn-pub
, maybe that might help someone?
👌
THANK YOU SOOOOOOOOOOOOOOOOOOO MUCH it works for me, replacing otn
with otn-pub
didn't work for me
I got mine by replacing
otn
in the URL withotn-pub
, maybe that might help someone?
yea it worked for me xd
I got mine by replacing
otn
in the URL withotn-pub
, maybe that might help someone?
Thanks!!
I got mine by replacing
otn
in the URL withotn-pub
, maybe that might help someone?
Thx! This did it for me!
Links posted above are no longer working apparently. Such as:
https://download.oracle.com/otn-pub/java/jdk/14.0.1+7/664493ef4a6946b186ff29eb326336a2/jdk-14.0.1_windows-x64_bin.exe
https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_windows-x64_bin.exe
I got mine by replacing
otn
in the URL withotn-pub
, maybe that might help someone?
Thanks! This works.
(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
This is worked like a charm. many 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.exeThis is worked like a charm. many thanks!
Thanks for leaving the link. Thank you so much!
JDK 8u281 - Windows x64
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_281-b09/89d678f2be164786b292527658ca1605/windows-i586/jdk-8u281-windows-x64.exe
JRE 8u281 - Windows x64
https://javadl.oracle.com/webapps/download/GetFile/1.8.0_281-b09/89d678f2be164786b292527658ca1605/windows-i586/jre-8u281-windows-x64.exe
@rathaROG thanks