Windows XP Windows 7 Windows 2003 Windows Vista Windows教程綜合 Linux 系統教程
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟件教程
 Windows教程網 >> Linux系統教程 >> 關於Linux >> CentOS開啟Eclipse報錯Failed to load the JNI shared如何解決?

CentOS開啟Eclipse報錯Failed to load the JNI shared如何解決?

日期:2017/1/25 10:37:24      編輯:關於Linux

  Eclipse是基於Java的開發平台,在CentOS上啟動Eclipse的時候,很多朋友遇到了Eclipse報錯問題,導致Eclipse無法啟動,下面小編就給大家介紹下CentOS啟動Eclipse報錯的解決方法,一起來學習下吧。

 CentOS開啟Eclipse報錯Failed to load the JNI shared如何解決?

  報錯如下:

  Failed to load the JNI shared library “/home/java2000_wl/jdk/jdk1.6.0_41/bin/。。/jre/lib/i386/client/libjvm.so”。

  解決方法:

  修改 /etc/sysconfig/selinux 文件 禁止SELINUX選項

  # This file controls the state of SELinux on the system.

  # SELINUX= can take one of these three values:

  # enforcing - SELinux security policy is enforced.

  # permissive - SELinux prints warnings instead of enforcing.

  # disabled - SELinux is fully disabled.

  #SELINUX=enforcing

  SELINUX=disabled

  # SELINUXTYPE= type of policy in use. Possible values are:

  # targeted - Only targeted network daemons are protected.

  # strict - Full SELinux protection.

  SELINUXTYPE=targeted

  上面就是CentOS啟動Eclipse報錯的解決方法的相關介紹了,如果你遇到了Eclipse無法啟動的問題,可以參考Ubuntu不能啟動Eclipse怎麼辦?

Copyright © Windows教程網 All Rights Reserved