Solve the slow running speed problem of eclipse in ubuntu10.04

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.