在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
搞定
最后
以上就是雪白鸡最近收集整理的关于ubuntu10.04下eclipse运行速度慢问题解决的全部内容,更多相关ubuntu10内容请搜索靠谱客的其他文章。
发表评论 取消回复