#备忘# 不需要注册Oracle账户的下载java/jdk的方法

Fwd: https://gist.github.com/wavezhang/ba8425f24a968ec9b2a8619d7c2d86a6#gistcomment-3154732

In case anyone is confused by the instructions, here's what you need to do:

  1. Go to the oracle download page and accept the license agreement. https://www.oracle.com/java/technologies/downloads/#java8

  2. 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

  3. Replace the otn with otn-pub in the above URI

  4. Paste this new URI into your browser address bar or use wget as

wget -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
posted @ 2021-10-31 11:44  Lhfcws  阅读(886)  评论(0编辑  收藏  举报