There are some people who choose Oracle Java (JRE or JDK) instead of OpenJDK that available in Ubuntu repository. Because of Oracle’s rule that Oracle Java not allowed to be hosted in other Oracle’s server, it should be downloader from Oracle’s server.
If you’are really want to install Oracle Java 7 from PPA for some reasont (such as : easy to update), Webupd89.org made a PP that automatically download and intall Oracle Java 7 from official Oracle’s server.
There are some steps to install Oracle Java 7 (JDK or JRE) from PPA :
1. Add ppa to the sources list
sudo add-apt-repository ppa:webupd8team/java
2. Update the sources
sudo apt-get update
3. Install it
sudo apt-get install oracle-jdk7-installer (JDK)
sudo apt-get install oracle-java7-installer (JRE)
Happy tree try !