eclipse报错:Failed to load the JNI shared library
Eclipse運行時提示“Failed to load the JNI shared library /Java/jre6/bin/client/jvm.dll”的一個解決方案
因為 Eclipse 是64位的,所以也必須要需要 64位的jdk1.7 。 之前安裝的是jdk1.6, 需要重新下載 jdk1.7 64位版本安裝,并配置好環境變量。
但是運行時還是報上面的錯誤,需要修改eclipse.ini ,在下面的位置加上:
-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
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:/Program Files/Java/jdk1.7.0_79/bin/javaw.exe
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx1024m
?
轉載于:https://www.cnblogs.com/z360519549/p/5750665.html
總結
以上是生活随笔為你收集整理的eclipse报错:Failed to load the JNI shared library的全部內容,希望文章能夠幫你解決所遇到的問題。