当前位置:主页 > 系统教程 >

电脑使用Eclipse提示Failed to load the JNI share liabrary怎么

发布时间:2021-05-18 00:00

如果在电脑中打开Eclipse软件,弹出提示“Failed to load the JNI share liabrary”,那么应该怎么解决这个问题呢?这个问题应该是由于Eclipse与jdk的版本不匹配导致的,可以参考以下方法步骤来解决。

推荐:电脑最新系统下载

电脑使用Eclipse提示Failed to load the JNI share liabrary怎么解决

1、先查看eclipse的版本要求,在eclipse的安装目录下有一个叫eclipse.ini的配置文件;

电脑使用Eclipse提示Failed to load the JNI share liabrary怎么解决1

2、用记事本打开,可以看到要求的jdk版本,如图所示是JDK1.8的64版本;

电脑使用Eclipse提示Failed to load the JNI share liabrary怎么解决2

3、假如系统中的jdk不匹配就会报错;

电脑使用Eclipse提示Failed to load the JNI share liabrary怎么解决3

4、所以要安装与Eclipse匹配的jdk版本;

电脑使用Eclipse提示Failed to load the JNI share liabrary怎么解决4

5、接着复制bin的路径;

电脑使用Eclipse提示Failed to load the JNI share liabrary怎么解决5

6、打开eclipse配置文件,在--launcher.appendVmargs下面加上:

-vmD:\JAVA\jdk1.8_112\bin\javaw.exe(上一步复制的bin目录+javaw.exe)

电脑使用Eclipse提示Failed to load the JNI share liabrary怎么解决6

7、完成后保存并重新启动eclipse就可以成功进入。

电脑使用Eclipse提示Failed to load the JNI share liabrary怎么解决7

电脑使用Eclipse提示Failed to load the JNI share liabrary,应该是jdk版本不匹配,可以通过以上方法来解决。

相关教程:怎么把eclipse文件打包出来load加载module安装eclipse步骤ntdetect failedfailed to load jni
------相关信息------
  • 系统分类
  • 系统排行
  • 精品推荐