码迷,mamicode.com
首页 > 系统相关 > 详细

64位ubuntu安装32位jdk

时间:2015-08-30 19:21:30      阅读:218      评论:0      收藏:0      [点我收藏+]

标签:

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

64位ubuntu安装32位jdk

标签:

原文地址:http://www.cnblogs.com/x_wukong/p/4771212.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!