About wget to download jdk problem solving

problem:

Direct download jdk appears from the official website:

正在解析主机 login.oracle.com (login.oracle.com)... 156.151.58.18正在连接 login.oracle.com (login.oracle.com)|156.151.58.18|:443... 已连接。已发出 HTTP 请求,正在等待回应... 401 Authorization Required  用户名/密码认证失败。

There will be certification issues

Program (effective)

  • Option One: to be logged in oracle's official website ( must ), click to download, this time the page is downloaded, click Cancel (to obtain certification ID, not really download, due to open by the certification, Oracle will give us a AuthParam=1560648091_848f12c73be9cfcb9557b1adc1b27432), open browser-based console, to get a direct link to wget;
    image.png

  • Option II: Direct use yum, specific link to view this blog https://www.cnblogs.com/wlsblog/p/7908348.html

Program (failure):

The Internet to find a solution is through

wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" + jdk下载链接

Now it has failed to prove

Guess you like

Origin www.cnblogs.com/worldline/p/12516742.html