Eclipse error: Failed to load the JNI shared library, eclipsejni

Source: Internet
Author: User

Eclipse error: Failed to load the JNI shared library, eclipsejni

A solution that prompts "Failed to load the JNI shared library/Java/jre6/bin/client/jvm. dll" during Eclipse Runtime

Because Eclipse is 64-bit, 64-bit jdk1.7 is also required. Jdk1.6 was installed previously. You need to download jdk1.7 64-bit and configure the environment variables.

However, the following error is still reported during running. You need to modify eclipse. ini and add it at the following position:

-Startup
Plugins/org. eclipse. equinox. launcher_1.3.100.v20150511-1540.jar
-- Launcher. library
Plugins/org. eclipse. equinox. launcher. win32.win32. x86_64_1.1.300.v20150602-1417
-Product
Org. eclipse. epp. package. jee. product
-- Launcher. defaultAction
OpenFile
-- Launcher. XXMaxPermSize
256 M
-Showsplash
Org. eclipse. platform
-- Launcher. XXMaxPermSize
256 m
-- Launcher. defaultAction
OpenFile
-Vm
C:/Program Files/Java/jdk1.7.0 _ 79/bin/javaw.exe
-- Launcher. appendVmargs
-Vmargs
-Dosgi. requiredJavaVersion = 1.7
-Xms256m
-Xmx1024m

 

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.