注意:我遵循这里的所有说明: http : //blog.taragana.com/index.php/archive/how-to-download-install-jdk-6/
Unpacking... Checksumming... Extracting... ./install.sfx.1354: 1: : not found ./install.sfx.1354: 1:ELF2@@h©@@!: not found ./install.sfx.1354: 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.
编辑:我正在从rackspace云运行“64位”服务器。 uname -p = x86_64
**sudo aptitude install sun-java6-jdk** does not work! Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done No candidate version found for sun-java6-jdk No candidate version found for sun-java6-jdk No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 41 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Writing extended state information... Done Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done
请检查您的存储库是否包含/etc/apt/sources.list中的multiverse,这应该使aptitude能够安装jdk。
aptitude install sun-java6-jdk
怎么样?
您已经下载了Itantium(ia64)二进制安装程序。 您应该回到sun的网站,并确保您下载x86安装程序。 你不能安装的原因是因为它正在寻找IA64特定的部分。
你的下载应该命名为jdk-6u16-linux-x64.bin
或者jdk-6u16-linux-x64-rpm.bin
第二个是如果你有一个基于RedHat的系统