Digital Marketing

How to download Java/JDK directly from Oracle from command line

This is for information only, please review Oracle license before you try this. It may conflict with Oracle license. Don't use the download link directly, you need to explicitly accept the agreement from the web and copy that link from there. 

For JDK10

wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie"  http://download.oracle.com/otn-pub/java/jdk/10.0.1+10/fb4372174a714e6b8c52526dc134031e/serverjre-10.0.1_linux-x64_bin.tar.gz


Change the link to the right version/package.

See also:

How to Install Oracle Java to Linux

Comments

Popular posts from this blog

How to delete / clear queue of PowerMTA