The problem about this is that there isn't an official Oracle Java repository available for Ubuntu. Even there's no *.DEB package available to download in Oracle Java site.
However, the Web Upd8 team has provide a Ubuntu PPA with the Oracle Java packages what today it's provide 3 versions of that: 6, 7 and the newest 8. If you want to check the PPA itself you can check it on https://launchpad.net/~webupd8team/+archive/java.
So, the installation of a ppa software itself is quite simple, just follow the next lines:
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java6-installer
sudo apt-get install oracle-java7-installer
sudo apt-get install oracle-java8-installer