Open Faied to load the JNI shared library & quot; C: \ Program Files (x86) \ java \ jdk1.6.0 _ 21 \ bin \.. \ jre \ bin \ client "solution, eclipsejre Configuration

Source: Internet
Author: User

Eclipse opens the pop-up Faied to load the JNI shared library "C: \ Program Files (x86) \ java \ jdk1.6.0 _ 21 \ bin \.. \ jre \ bin \ client "solution, eclipsejre Configuration

Today, I downloaded an android ADT integrated with eclipse. the pop-up window shows "C: \ Program Files (x86) \ java \ jdk1.6.0 _ 21 \ bin \ .. \ jre \ bin \ client".

This path is very strange, so I found some information on the Internet.

There are two common errors:

1. The jdk environment configuration is incorrect.

2. jdk and Eclispe versions are inconsistent (32-bit/64-bit)

 

If "java-version" is entered in cmd, the java version information indicates that the configuration is correct.

It may be that jdk is a 32-bit working environment which was previously well prepared by colleagues. I did not pay attention to it before. I downloaded the 64-bit version of 1.6 and solved the problem!

 

How does one differentiate whether java on the local machine is 32 or 64?

If a 64-Bit character is displayed, it indicates that it is 64-Bit. If it does not appear, the default value is 32 bits.

When jdk is installed, the default installation folder is Program Files (x86), which is 32-bit. If it is a folder of Program Files, it is 64-bit.

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.