返回首页
当前位置: 主页 > 精通Office > Ubuntu教程 >

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

时间:2011-09-20 01:16来源:知行网www.zhixing123.cn 编辑:麦田守望者

在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

搞定

------分隔线----------------------------
标签(Tag):Ubuntu Ubuntu教程 Ubuntu美化 Ubuntu技巧 Ubuntu下载 Ubuntu软件
------分隔线----------------------------
推荐内容
猜你感兴趣