linux curl 下载jdk

时间:2023-02-10 22:55:44

进入orecle官网,找到需要的安装包

需要cookie同意相关协议才能下载

curl -L "http://download.oracle.com/otn-pub/java/jdk/8u101-b13/jdk-8u101-linux-x64.rpm" -H "Cookie: oraclelicense=accept-securebackup-cookie"  -H "Connection: keep-alive" -O