当前位置:K88软件开发文章中心编程全书编程全书14 → 文章内容

CentOS开启Eclipse报错Failed to load the JNI shared如何解决?

减小字体 增大字体 作者:华军  来源:不详  发布时间:2019-2-7 13:46:22

  下面就是CentOS启动Eclipse报错的解决方法的相关介绍了,如果你遇到了Eclipse无法启动的问题,可以参考Ubuntu不能启动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报错Failed to load the JNI shared如何解决?