jdk download page:
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
download link:
http://download.oracle.com/otn-pub/java/jdk/7u60-b19/jdk-7u60-linux-x64.tar.gz
wget command:
wget --no-cookies --no-check-certificate --header "Cookie:gpw_e24=http%3a%2f%2fwww.oracle.com%2ftechnetwork%2fjava%2fjavase%2fdownloads%2fjdk7-downloads-1880260.html;oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/7u60-b19/jdk-7u60-linux-x64.tar.gz
正在解析主机 download.oracle.com (download.oracle.com)… 23.61.194.112, 23.61.194.90
正在连接 download.oracle.com (download.oracle.com)|23.61.194.112|:80… 已连接。
已发出 HTTP 请求,正在等待回应… 302 Moved Temporarily
位置:https://edelivery.oracle.com/otn-pub/java/jdk/7u60-b19/jdk-7u60-linux-x64.tar.gz [跟随至新的 URL]
–2014-06-07 00:27:38– https://edelivery.oracle.com/otn-pub/java/jdk/7u60-b19/jdk-7u60-linux-x64.tar.gz
正在解析主机 edelivery.oracle.com (edelivery.oracle.com)… 23.77.214.140
正在连接 edelivery.oracle.com (edelivery.oracle.com)|23.77.214.140|:443… 已连接。
已发出 HTTP 请求,正在等待回应… 302 Moved Temporarily
位置:http://download.oracle.com/otn-pub/java/jdk/7u60-b19/jdk-7u60-linux-x64.tar.gz?AuthParam=1402072184_0d46f1e391f64cc002aaa6209d112c9d [跟随至新的 URL]
–2014-06-07 00:27:44– http://download.oracle.com/otn-pub/java/jdk/7u60-b19/jdk-7u60-linux-x64.tar.gz?AuthParam=1402072184_0d46f1e391f64cc002aaa6209d112c9d
正在连接 download.oracle.com (download.oracle.com)|23.61.194.112|:80… 已连接。
已发出 HTTP 请求,正在等待回应… 200 OK
长度: 142362384 (136M) [application/x-gzip]
正在保存至: “jdk-7u60-linux-x64.tar.gz”
43% [===============================================>
等待下载完成即可。
JDK 8:
wget --no-cookies --no-check-certificate --header "Cookie:gpw_e24=http%3a%2f%2fwww.oracle.com%2ftechnetwork%2fjava%2fjavase%2fdownloads%2fjdk8-downloads-2133151.html;oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u11-b12/jdk-8u11-linux-x64.tar.gz