Download jdk1.8 by wget

          When downloading jdk on the oracle website, you need to check "accept" to start the download, so in the linux environment, how to agree to the agreement and download the sdk through wget? One method I found is to start the download first in the windows environment, monitor the downloaded url through charles, and find the http://download.oracle.com item. The parameter with AuthParam in the url is really used. the download url (e.g. http://download.oracle.com/otn-pub/java/jdk/8u161-b12/2f38c3b165be4555a1fa6e98c45e0808/jdk-8u161-linux-x64.tar.gz?AuthParam=1522380296_9bcab9992b945d78d550e7989b with the above) The url of the AuthParam parameter can start to download. After decompression, configure the environment variables and start using it.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326015098&siteId=291194637