Sick of firing up a web browser, downloading JRE or JDK to your desktop and scp it to the server you are updating?

I was:

wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u92-b14/jdk-8u92-linux-x64.tar.gz

If you are using Gentoo, you can use this script.