eclipse-failed to load the JNI shared library

Source: Internet
Author: User

Long time no use Eclipse, just opened, hint: failed to load the JNI shared library. The problem is typically that eclipse has a different number of JDK bits.

Solution:

1, enter "Java-version" in cmd

650) this.width=650; "src=" http://s2.51cto.com/wyfs02/M02/7D/03/wKioL1beforxA6ZVAACS5UbhEl4413.jpg "title=" capture. JPG "alt=" Wkiol1beforxa6zvaacs5ubhel4413.jpg "/>

Here, the Draw line section is the client VM represented as a 32-bit JDK. If 64-bit Server, represents a 64-bit JDK.

2. Open the Eclipse installation directory

  650) this.width=650; "Src=" http://s4.51cto.com/wyfs02/M02/7D/03/wKioL1bef_6T3_qKAAGkj700afc357.jpg " Title= "capture. JPG "alt=" wkiol1bef_6t3_qkaagkj700afc357.jpg "/>

Notepad to open Eclipse.ini. I opened it with a sublime. Such as. At the red Line, the win32.x86 represents 32 bits. win32.x86_64, is based on your computer's environment to install, my computer is a 64-bit machine, so eclipse is 64 bit. So the JDK and Eclipse versions are different. 650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/7D/03/ Wkiol1begs2g8yzbaaedoo7kfyk739.jpg "title=" capture. JPG "alt=" Wkiol1begs2g8yzbaaedoo7kfyk739.jpg "/># # #

This article is from the "Afternoon Tea" blog, please be sure to keep this source http://luowenhui.blog.51cto.com/11208456/1748792

Eclipse-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.