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