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

时间:2021-12-29 15:18:30

下载地址 :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