我无法从软件中心安装openJDK,我得到了错误:
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openjdk-7/openjdk-7-jre-lib_7u15-2.3.7-0ubuntu1~12.10_all.deb 404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openjdk-7/openjdk-7-jre-headless_7u15-2.3.7-0ubuntu1~12.10_amd64.deb 404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openjdk-7/openjdk-7-jre_7u15-2.3.7-0ubuntu1~12.10_amd64.deb 404 Not Found [IP: 91.189.92.200 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openjdk-7/icedtea-7-jre-jamvm_7u15-2.3.7-0ubuntu1~12.10_amd64.deb 404 Not Found [IP: 91.189.92.200 80]它告诉我要检查我的互联网连接,但我是连接的(或者我如何才能张贴这个)。
有什么建议吗?
发布于 2013-03-24 07:39:02
OpenJDK
Java运行时环境的安装
浏览器插件
这个插件适用于主要浏览器: Firefox、Chromium、Google和Epiphany。
在Konqueror上,转到设置→配置Konqueror.然后从菜单中选择Java & JavaScript,然后勾选选项。
软件开发工具包
在Java术语中,(JDK)有时用于SDK。(这里有更多关于这个的内容。)
Install the [openjdk-6-jdk][5] package using any installation method.
Install the [openjdk-7-jdk][6] package using any installation method. 替代虚拟机
大多数用户不需要担心这些问题,但是如果使用默认为零虚拟机(VM)的体系结构(例如PowerPC),那么如果切换到:
JamVM: This is the default VM for ARM in 11.10. Install the icedtea-6-jre-jamvm package if available. If it is not, then compile instructions can be found here.
Cacao: Ensure the icedtea-6-jre-cacao package is installed.
Zero/Shark: Shark is a just-in-time (JIT) compiler for Zero. Install the openjdk-6-jre-zero package if available. On architectures which use the Zero VM as the default, the openjdk-6-jre-zero package contains the Shark VM. 要使用与默认不同的VM,只需将适当的选项添加到通常使用的命令中即可。例如:
java -jamvm|-cacao|-shark|-zero -version有关更多信息,请参见该目录中的文件/usr/lib/jvm/java-6-openjdk-powerpc/docs/README.Debian (或其等效文件)和其他文档。注意,IcedTea浏览器插件将使用默认的VM (您可以在文件/etc/java-6-OpenJDK/jvm.cfg中修改它)。
发布于 2013-08-26 15:34:34
我也有类似的问题,并通过编辑/etc/apt/sources.list修复了它:
在sources.list中,将archive和security替换为old-releases。
例如:
将archive.ubuntu.com和security.ubuntu.com替换为old-releases.ubuntu.com
参考资料:http://forums.linuxmint.com/viewtopic.php?f=46&t=123935
https://askubuntu.com/questions/271590
复制相似问题