How to automate download and installation of Java JDK on Linux?

Source : UPDATED FOR JDK 8u45 RPM: wget –no-check-certificate –no-cookies –header « Cookie: oraclelicense=accept-securebackup-cookie » TAR GZ: wget –no-check-certificate –no-cookies –header « Cookie: oraclelicense=accept-securebackup-cookie » RPM using curl: curl -v -j -k -L -H « Cookie: oraclelicense=accept-securebackup-cookie » > jdk-8u45-linux-x64.rpm -j -> junk cookies -k -> ignore certificates -L -> follow redirects -H [arg] -> headers curl can […]

Debian Sarge/Etch + Oracle 10G express edition from apt HOWTO

To use this repository we need to add following lines to /etc/apt/sources.list file: deb unstable main non-free deb-src unstable main we also need to get and install the package key from oracle web site wget apt-key add RPM-GPG-KEY-oracle  Next, you need to update your package files (as root)# apt-get update … Reading […]