错误方式
wget http://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jdk-8u181-linux-x64.tar.gz
由于oracle官网在下载JDK时候要求Accept协议,若缺少AuthParam下载的话只有5K多,使用 tar xvfz jdk1.8.xxx...tar.gz 错是正常的,实际上177M左右
正确姿势:
wget http://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jdk-8u181-linux-x64.tar.gz
?AuthParam=1536822540_46d9197390884ac96940b48ef19310a3