Running eclipse in Ubuntu is very slow, and it feels like you are using an old man.ProgramAfter studying the Java environment, I found that I installed open
JDK instead of Sun JDK.
On the Ubuntu official website, find the following description, Link
Sun Java moved to the partner Repository
For Ubuntu 10.04 LTS,
The sun-java6 packages have been dropped from the multiverse section
The Ubuntu archive. It is recommended that you use openjdk-6 instead.
If
You can not switch from the proprietary Sun JDK/JRE to openjdk, you can
Install sun-java6 packages from the canonical partner repository. You
Can configure your system to use this repository via command-line:
Add-Apt-repository "Deb http://archive.canonical.com/lucid partner"
Fainted, so I had to manually install Sun's JDK.
Enter
$ Sudo add-Apt-repository "Deb http://archive.canonical.com/lucid
Partner"
$ Sudo apt-Get update
$ Sudo apt-Get install
Sun-java6-jdk
Done