歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux管理 >> Linux維護

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

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

報錯如下:

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 © Linux教程網 All Rights Reserved