我已经按照许多页面上的说明进行了操作,例如this,它说要运行以下命令:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk
但是,当我这样做时,仍然出现以下错误:
me@mycomputer:~$ sudo apt-get install sun-java6-jdk Reading package lists... Done
Building dependency tree Reading state information... Done
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
我意识到可以从许多其他来源获得Java,但是由于无法进入此处的原因,我必须使用此特定版本。
我该怎么做才能安装此软件?
您可以使用此链接手动安装它askubuntu.com/questions/67909/how-do-i-install-oracle-jdk-6
—
Mansoor Elahi