Running eclipse under Ubuntu is very slow, it feels like using a classic machine to write a program and study the Java environment to find that I am installing the open JDK instead of the sun JDK.
In Ubuntu, the official found the following instructions, links
Sun Java moved to the Partner repository
For the Ubuntu 10.04 LTS, the SUN-JAVA6 packages have been dropped to the the Ubuntu Multiverse section. It is recommended this use OPENJDK-6 instead.
If you can don't switch from the proprietary Sun JDK/JRE to OpenJDK, you can install SUN-JAVA6 packages from the Canonical P Artner Repository. Can configure your system to use this repository via command-line:
Add-apt-repository "Deb Http://archive.canonical.com/lucid partner"
Fainted and had to manually install Sun's JDK.
Entering at the command line
$ sudo add-apt-repository "Deb http://archive.canonical.com/lucid partner"
$ sudo apt-get update
$ sudo apt-get install SUN-JAVA6-JDK
Get