My upgrade to Lucid blew my Sun Java 6 JDK installation away, which was my default Java installation. No problem, right? Just run a sudo apt-get sun-java6 blah blah blah and we’ve got it back… Well, no. Ubuntu has moved Sun (actually, Oracle now) Java to a partner repo. So here’s what I had to do.
Open a terminal window, and enter:
sudo add-apt-repository “deb http://archive.canonical.com/ lucid partner”
sudo apt-get update
sudo apt-get install sun-java6-jdk
This will install version 20, as of this writing.