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