Eclipse opens pop-up faied to load the JNI shared library "C:\Program Files (x86) \java\jdk1.6.0_21\bin\. \jre\bin\client "solution

Source: Internet
Author: User

Today, we downloaded an Android ADT integrated with Eclipse, and opened the pop-up window to display the C:\Program Files (x86) \java\jdk1.6.0_21\bin\. \jre\bin\client "

The path was very strange, so I looked up the information on the Internet.

There are two common types of errors that occur with the faied to load the JNI shared library:

Problem with 1,JDK environment configuration

2,JDK inconsistent with Eclispe version (32-bit/64-bit)

CMD input "java-version" can appear in Java version Information description configuration is not a problem.

The JDK is probably 32-bit, the working environment is the original colleague, did not notice before, downloaded 1.6 of the 64-bit version, problem solving!

How do I differentiate whether Java is 32 or 64?

If there is a 64-bit word, the description is 64 bits. If it does not appear, the default is 32-bit.

When installing the JDK, the default is the installation folder for program Files (x86), which is 32-bit. If it is the folder of program files, it is 64-bit.

Eclipse opens pop-up faied to load the JNI shared library "C:\Program Files (x86) \java\jdk1.6.0_21\bin\. \jre\bin\client "solution

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.