`

Eclipse在linux下的安装问题

阅读更多

inux下安装eclipse出现如下错误
failed to load the jni shared library"/usr/local/java/jdk1.6.0_21/bin/../jre/lib/i386/client /libjvm.so" 双击就出现这个玩意 无法进入界面 不知道咋回事,我的jdk是安装好了的,在终端java -version显示正确

在网上查了一些资料,发现是没有禁用SELinux的原因,处理方法如下:

打开服务器上的SELinux配置文件,默认为:/etc/selinux/config,内容如下:

# 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
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

将上面的
SELINUX=enforcing 改为:SELINUX=disable 禁用SeLinux

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics