Oracle Java Development Kit 7 (jdk7) is Not Anymore hosted in the Official Ubuntu Repositories because that’s not allowed by the new Java license. this reason why JDK/JVM removed from the official Ubuntu repositories.
If you Install Oracle Java Development Kit 7 via PPA, Package JDK7 will be automatically downloads and installs from official website and then install it on your ubuntu computer, just like the flashplugin-installer package does
See guide how to How to Install Oracle Java Development Kit 7 (JDK7) In Ubuntu 11.10/12.04 via PPA
How to Install Oracle Java Development Kit 7 (JDK7) In Ubuntu 11.10/12.04 via PPA
This package provides Oracle Java Development Kit 7 (which includes JRE and the Java browser plugin). However, you can’t only install Oracle JRE – the PPA only provides the full Oracle JDK7 package.
Add ppa (ppa:webupd8team/java) then install Oracle Java Development Kit 7, run command below in terminal:
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo mkdir -p /usr/lib/mozilla/plugins #just in case, this will be added to the package in the next version sudo apt-get install oracle-jdk7-installer
To remove Oracle Java Development Kit 7, run command below :
sudo apt-get remove oracle-jdk7-installer
via:webupd8.org

















