您的位置:首页 > 编程语言 > Java开发

ubuntu10.04下eclipse运行速度慢问题解决

2010-06-28 17:52 471 查看
在ubuntu下运行eclipse速度十分缓慢,感觉像是在用一台老爷机写程序,研究了一下Java环境才发现我装的是open
jdk而不是sun jdk.

在ubuntu的官方找到了以下说明,链接

Sun Java moved to the Partner repository

For Ubuntu 10.04 LTS,
the sun-java6 packages have been dropped from the Multiverse section of
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"

晕倒,只好手动安装sun的jdk了

在命令行输入

$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid
partner"

$ sudo apt-get update

$ sudo apt-get install
sun-java6-jdk

搞定
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: