ubuntu - Ubuntu 中的 Sun JDK 6 安装失败,出现 "ELF: not found"

标签 ubuntu java

我在关注这个 doc并在我的 Ubuntu 服务器 v11 中安装 Sun JDK 6。

root@li339-83:~# wget --no-check-certificate --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F" http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin
root@li339-83:~# chmod u+x jdk-6u45-linux-x64.bin
root@li339-83:~# ./jdk-6u45-linux-x64.bin
Unpacking...
Checksumming...
Extracting...
./install.sfx.331: 1:ELF: not found
./install.sfx.331: 2: Syntax error: ")" unexpected
Failed to extract the files.  Please refer to the Troubleshooting section of
the Installation Instructions on the download page for more information.

我试图找到“ELF: not found”的解决方案,但找不到解决方案。关于如何解决此 ELF 问题的任何想法?

最佳答案

在 Ubuntu 上安装 Oracle JDK(和其他软件)的最佳方法可能是使用标准的 Debian 工具,例如 apt-get 或 synaptic。 为此,您必须添加 WebUpd8 团队 PPA(更多详细信息 here)。

关于ubuntu - Ubuntu 中的 Sun JDK 6 安装失败,出现 "ELF: not found",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16798493/

相关文章:

javascript - 如果删除了链接,则从 html 表中删除链接之间的空格

java - Eclipse Juno 报告 Play 语法问题

regex - 如何在 Linux 中将正则表达式传递给 find 命令?

linux - 一个行为良好的守护进程应该在哪里存储辅助文件?

gcc - 如何在 Ubuntu 10.10 上安装 gcc-4.1

ios - 无法将用户从 iOS 客户端注册到 Ejabberd 服务器 - XMPP

java - BufferedImage 中 channel 的顺序?

linux - 从 Linux Shell 递归解压?

java - 为什么只有根记录器在具有 JSON 配置的 Log4j 2 中工作?

java - 正则表达式中的 Unicode 脚本