Vá até uma pasta livre…
$> cd /opt
Download para OS 32 Bits:
$> wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-i586.rpm"
$> wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jre-8u45-linux-i586.rpm"
Download para OS 64 Bits:
$> wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-x64.rpm"
$> wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jre-8u45-linux-x64.rpm"
Instalação (via RPM) para o OS 32 Bits:
$> rpm -Uvh jdk-8u45-linux-i586.rpm
$> rpm -Uvh jre-8u45-linux-i586.rpm
Instalação (via RPM) para o OS 64 Bits:
$> rpm -Uvh jdk-8u45-linux-x64.rpm
$> rpm -Uvh jre-8u45-linux-x64.rpm
Só correr para o abraço!
$> java -version
$> javac -version