http://happy-coding.com/install-sun-java6-jdk-on-ubuntu-10-04-lucid/
我在终端输入:sudo apt-get install sun_java6_jdk
出现了问题:package sun_java6_jdk不能被找到
apt-get提示了以下信息:
Package sun-java6-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-jdk has no installation candidate
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-jdk has no installation candidate
解决办法如下:
1. 在终端输入: sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" 回车
2. 在终端输入:sudo apt-get update, 回车
3. 在终端输入:sudo apt-get install sun_java6_jdk
OK
问题解决了
最后
以上就是愤怒小天鹅最近收集整理的关于Ubuntu 上安装 sun_java6_jdk 问题的全部内容,更多相关Ubuntu内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复