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"