Installing Oracle Java 8 on Debian/Ubuntu

Oracle Java has proven to be more stable than the OpenJDK, you can install it easily using apt-get with the following commands