Linux通过wget直接下载jdk、避免用户验证

时间:2022-01-13 13:24:52
原文地址:http://blog.csdn.net/lushuai09/article/details/47946311

下载语句:

wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jdk-8u121-linux-x64.tar.gz


其他版本:


去JDK官网:

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

查找JDK下载地址


红色部分是关键