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相关信息见CentOS 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=14