64-bit Ubuntu installs 32-bit JDK

Source: Internet
Author: User

Transferred from: http://blog.csdn.net/anladeyatou/article/details/8213334

Ubuntu-11.10-desktop-amd64

Jdk-6u23-linux-i586.bin

Today, in 64-bit Ubuntu, the 32-bit JDK doesn't fit.

Error

./jdk-6u7-linux-i586.bin:480:./install.sfx.2354:not found
Failed to extract the files. Refer to the Troubleshooting section of
The installation instructions on the download page for more information
I'm looking for a 64-bit environment. 32-bit JDK not supported

Find a solution after

The original 64-bit Ubuntu even 32-bit program loader are not installed, need to install
sudo apt-get install libc6-i386

In addition, some common 32-bit libraries
sudo apt-get install lib32asound2 lib32z1 lib32stdc++6 lib32bz2-1.0

The original apt also has a search command, just to be searched by Apt-cache
Apt-cache Search

64-bit Ubuntu installs 32-bit JDK

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.