本文介绍了如何在Ubuntu 10.10(Maverick Meerkat)上安装Sun Java JDK?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试添加Canonical Partner存储库,但我仍然找不到 sun-java6-jdk 包。在(Maverick Meerkat)?

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,。

更新(2010/09/27):读者可能需要查看。我仍然期望官方套餐可以在合作伙伴回购时间的相关时间内提供。

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.

由于未知原因,太阳-java6-jdk在合作伙伴存储库中不能

For an unknown reason, the sun-java6-jdk are not yet available in the partner repositories.

因此从并安装他们使用 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


清单上的

(在上面的行中替换 maverick lucid ,让我知道如果你需要更多的帮助来做到这一点)。然后,安装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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 18:01