程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> JAVA編程 >> JAVA綜合教程 >> eclipse報錯:Failed to load the JNI shared library,eclipsejni

eclipse報錯:Failed to load the JNI shared library,eclipsejni

編輯:JAVA綜合教程

eclipse報錯:Failed to load the JNI shared library,eclipsejni


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

 

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved