Eclipse launches failed to load the JNI shared library

Source: Internet
Author: User
Tags win32

"Failed to load the JNI shared library Jvm.dll" pops up when you open Eclipse one day, due to multiple versions installed in the JDK, and other development tools

Cause: The version of Eclipse is inconsistent with the JRE or JDK version

Countermeasures: Either both are installed 64-bit, either installed 32-bit, not one is 32 bit one is 64 bit.

1. To see how many bits the JDK is, enter CMD in the search box and open the command-line window. Enter java-version on the command line to see how many bits the JDK is, typically 64-bit is 64 JDK, not shown as 32-bit JDK.

2. Let's determine how many bits of eclipse are. We open the installation directory for Eclipse and right-click the Eclipse.ini file to open it in Notepad. Look at the line below--launcher.library, if the win32.x86 is displayed, it indicates that Eclipse is 32 bits, and if the win32.x86_64 is displayed, it is 64 bits. This eclipse is 32-bit, so if the JDK is incompatible with eclipse, the failed to load the JNI shared library will appear.

Reference documents:

http://blog.csdn.net/zyz511919766/article/details/7442633/

Eclipse launches failed to load the JNI shared library

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.