linux通过wget直接下载jdk,避免用户验证

时间:2022-01-10 13:58:21

下载地址 :http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

下载语句:

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

 

wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.rpm