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.