我遵循这个doc并在我的Ubuntu服务器v11中安装SunJDK6。
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问题的想法吗?
发布于 2013-05-29 02:09:03
在Ubuntu上安装Oracle JDK (和其他软件)的最好方法可能是使用标准的Debian工具,如apt-get或synaptic。为此,您必须添加WebUpd8 team PPA (more details here)。
发布于 2013-05-29 05:18:57
在我看来,我不确定我是否正确,如果你在64位系统上,并试图安装严格的32位的东西,例如32位JDK,那么你需要下载32位elf库并将其安装到你的Ubuntu linux系统中。这可能是因为,如果您在64位系统上,这些库可能是不必要的。不过,如果您手动下载32位elf库(来自Ubuntu的32位版本),它们仍然可用。大约一年前,我在64位CentOS系统上安装32位WebSphere演示时遇到了类似的问题。
https://stackoverflow.com/questions/16798493
复制相似问题