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"

Change the link to the right version/package.

See also:

How to Install Oracle Java to Linux

Popular posts from this blog

How to fix Google Apps Script: Script function not found: doGet

Creating sort index in MySQL

How to fix: df shows no file systems processed on Linux