Eclipse Startup Report "fail to load the JNI shared library"

Source: Internet
Author: User

Last night the Android Studio,jdk also changed, and the environment variable was slightly changed.

Really say, install a software is also a technical work ...

I'm going to change Android studio, but I'm not going to abandon eclipse, hey.

But today I want to open eclipse found "fail to load the JNI shared library", Baidu a bit, found that the version of Eclipse is 32-bit, (E:\adt-bundle-windows-x86-20130917\ Eclipse Eclipse.ini) and my environment variable is configured with a 64-bit JDK.

If you want to not change the environment variables, and you want to be compatible with both 32 and 64 of the JDK can be used simultaneously (eclipse with 32-bit jdk,android studio with 64-bit JDK)

Just add the following before the parameter "-vmargs" in the Eclipse.ini file:
-VM
D:\jre6\bin\javaw.exe

Must be written in two lines.

Details can be stamped http://www.doc88.com/p-8109915134615.html

Eclipse.ini

-startup
Plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
Plugins/org.eclipse.equinox.launcher. win32.win32.x86_1.1.200.v20120913-144807
-product
Com.android.ide.eclipse.adt.package.product
--launcher. Xxmaxpermsize
256M
-showsplash
Com.android.ide.eclipse.adt.package.product
--launcher. Xxmaxpermsize
256m
--launcher.defaultaction
OpenFile
-vm
D:\jre6\bin\javaw.exe
-vmargs
-dosgi.requiredjavaversion=1.6
-xms40m
-xmx768m
-declipse.buildid=v22.2.1-833290

Eclipse Startup Report "fail 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.