64位ubuntu安装32位jdk

转自: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 of
the 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

原文链接: https://www.cnblogs.com/x_wukong/p/4771212.html

欢迎关注

微信关注下方公众号,第一时间获取干货硬货;公众号内回复【pdf】免费获取数百本计算机经典书籍

    64位ubuntu安装32位jdk

原创文章受到原创版权保护。转载请注明出处:https://www.ccppcoding.com/archives/221296

非原创文章文中已经注明原地址,如有侵权,联系删除

关注公众号【高性能架构探索】,第一时间获取最新文章

转载文章受原作者版权保护。转载请注明原作者出处!

(0)
上一篇 2023年2月13日 上午11:14
下一篇 2023年2月13日 上午11:14

相关推荐