转自:http://blog.csdn.net/anladeyatou/article/details/8213334
ubuntu-11.10-desktop-amd64
jdk-6u23-linux-i586.bin
今天在64位的ubuntu下装32位JDK死活装不上
报错
./jdk-6u7-linux-i586.bin: 480: ./install.sfx.2354: not found
Failed to extract the files. Please refer to the Troubleshooting section ofthe Installation Instructions on the download page for more information找来找去说是64位环境不支持32位JDK后找到解决办法
原来是64位Ubuntu连32位程序的loader都没有安装,需要安装
sudo apt-get install libc6-i386另外,一些常用的32位库
sudo apt-get install lib32asound2 lib32z1 lib32stdc++6 lib32bz2-1.0原来apt也有search命令,只是要通过apt-cache来搜索
apt-cache search