Java教程

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

本文主要是介绍#备忘# 不需要注册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
这篇关于#备忘# 不需要注册Oracle账户的下载java/jdk的方法的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!