Debian runs j2se1.3. xx

Source: Internet
Author: User
Debian runs j2se1.3. xx -- Debian information of the Linux release. The following is a detailed description. Come in, because of work needs, to run some programs under j2se1.3.1 (in my opinion, what an old version), So I downloaded j2se1.3 from sun and installed it. result running error:/usr/jdk1.3.1 _ 17/bin/i386/native_threads/java: error while loading shared libraries: libstdc ++-libc6.1-1. so.2: cannot open shared object file: No such file or directory.

It turned out to be a lack of dynamic libraries, so we simply searched for the related package in debian. Originally, In the libstdc ++ 2.9-glibc2.1 package, apt-get was installed, but it could not be found, so apt-cache search libstdc ++ found that libstdc ++ 2.10-glibc2.2 was the earliest and installed.

Because java requires libstdc ++-libc6.1-1. so.2 dynamic library, so we made a ln: ln-s/usr/lib/libstdc ++-libc6.2-2 in linux. so.3/usr/lib/libstdc ++-libc6.1-1. so.2

The result is of course.
Related Article

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.