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怎么办?


上一篇:CentOS系统安装whois命令的方法

下一篇:Fedora开机启动进入文本模式的方法


Eclipse CentOSeclipse eclipse启动报错
Copyright © 2002-2019 测速网 www.inhv.cn 皖ICP备2023010105号
测速城市 测速地区 测速街道 网速测试城市 网速测试地区 网速测试街道
温馨提示:部分文章图片数据来源与网络,仅供参考!版权归原作者所有,如有侵权请联系删除!

热门搜索 城市网站建设 地区网站制作 街道网页设计 大写数字 热点城市 热点地区 热点街道 热点时间 房贷计算器