/ linux

Download Java frm Console

Find the URL for the Java download on the page of the specific JRE/JDK:

Select the Accept License radio button in order to see the whole URL of the package you want to download.

Then query the URL using the following command:

curl -L -b "oraclelicense=a" http://download.oracle.com/otn-pub/java/jdk/8u91-b14/jre-8u91-linux-x64.tar.gz -O

That's it!