如何在 Ubuntu 10.10 (Maverick Meerkat) 上安装 Sun Java JDK? [英] How to install the Sun Java JDK on Ubuntu 10.10 (Maverick Meerkat)?
问题描述
我已尝试添加 Canonical Partner 存储库,但仍然找不到 sun-java6-jdk
包.在 Ubuntu 10.10 上安装 Oracle Sun JDK 而不是 OpenJDK 的正确方法是什么(特立独行的猫鼬)?
I've tried to add the Canonical Partner repository, but I still can't find the sun-java6-jdk
package. What is the right way to install the Oracle Sun JDK instead of OpenJDK on Ubuntu 10.10 (Maverick Meerkat)?
推荐答案
更新 (2010/10/01): Yesss, Sun Java 终于上传到 Ubuntu 10.10 Maverick 官方合作伙伴存储库.
更新 (2010/09/27): 读者可能想要查看 Sun Java6 包[更新].不过,我仍然希望在最新的合作伙伴存储库中提供官方软件包.
Update (2010/09/27): Readers might want to check Sun Java6 Packages [updated]. I still expect official packages to be available in the partner repos at releast time though.
由于未知原因,sun-java6-jdk 尚未在合作伙伴存储库中可用.
For an unknown reason, the sun-java6-jdk are not yet available in the partner repositories.
所以要么从 http://archive.canonical 下载所需的软件包.com/pool/partner/s/sun-java6/ 并使用 dpkg -i
安装它们.
So either downloaded the required packages from http://archive.canonical.com/pool/partner/s/sun-java6/ and install them with dpkg -i
.
或者临时更换特立独行的合作伙伴仓库
Or temporarily replace the maverick partner repository
http://archive.canonical.com/ubuntu maverick partner
通过 lucid 的(用 lucid
替换上一行中的 maverick
,如果您需要更多帮助,请告诉我).然后,安装sun-java6.并恢复更改.
by the lucid one (replace maverick
by lucid
in the above line, let me know if you need more help to do this). Then, install sun-java6. And revert the change.
这篇关于如何在 Ubuntu 10.10 (Maverick Meerkat) 上安装 Sun Java JDK?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!