Download java from oracle without login \ oracle account

Java SE 8u291 is the latest release for the Java SE 8 Platform
Java SE Development Kit 8u291
Windows x64
https://download.oracle.com/otn-pub/java/jdk/8u291-b10/d7fc238d0cbf4b0dac67be84580cfb4b/jdk-8u291-windows-x64.exe

Java SE Development Kit 11.0.11
Windows x64 Installer
https://download.oracle.com/otn-pub/java/jdk/11.0.11%2B9/ab2da78f32ed489abb3ff52fd0a02b1c/jdk-11.0.11_windows-x64_bin.exe

Windows x64 Compressed Archive
https://download.oracle.com/otn-pub/java/jdk/11.0.11%2B9/ab2da78f32ed489abb3ff52fd0a02b1c/jdk-11.0.11_windows-x64_bin.zip

Java SE Development Kit 16.0.1
Windows x64 Installer
https://download.oracle.com/otn-pub/java/jdk/16.0.1+9/7147401fd7354114ac51ef3e1328291f/jdk-16.0.1_windows-x64_bin.exe

Windows x64 Compressed Archive
https://download.oracle.com/otn-pub/java/jdk/16.0.1+9/7147401fd7354114ac51ef3e1328291f/jdk-16.0.1_windows-x64_bin.zip

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/javase-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 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.

https://gist.github.com/wavezhang/ba8425f24a968ec9b2a8619d7c2d86a6