Installing Sun Java JRE on Ubuntu 11.04
Here's the easiest way to install Sun (Oracle) Java JRE on newer versions of Ubuntu (tested on 11.04) without resorting to third party PPAs.
sudo apt-add-repository "deb http://archive.canonical.com/ natty partner"
sudo apt-get update
sudo apt-get install sun-java6-jre
UPDATE: This no longer works as all of the Oracle Java packages are pulled from all of the PPAs. So, you have to install it by downloading the binaries from Oracle directly.
Posted Sat 16 July 2011 by Ivan Dyedov in Linux (Java, Ubuntu, Linux)