Ubuntu Guide shows you how to install Oracle Java (JDK) 6 / 7 / 8 in Ubuntu 13.04
Oracle Java has been removed from the official Ubuntu repositories due to the new Java license. If you need to use Oracle Java instead of OpenJDK in Ubuntu, this simple tutorial will show you how to install Oracle Java (JDK which includs JRE) 6 / 7 / 8 in Ubuntu 13.04 using the ppa repository.Install Oracle Java (JDK) 6 / 7 / 8 in Ubuntu 13.04
The Webupd8 Team created a ppa with packages which automatically downloads Oracle Java JDK from its official website and installs it on your computer. They are oracle-java6-installer, oracle-java7-installer, and oracle-java8-installer. The ppa supports for Ubuntu 13.04, 12.10, 12.04 and 10.04.