CentOS open Eclipse error Failed to load the JNI shared how to solve?

  
                

Eclipse is a Java-based development platform. When launching Eclipse on CentOS, many of my friends encountered Eclipse error messages, which caused Eclipse to fail to start. The following small series will introduce you to CentOS to start Eclipse error reporting. Let's learn.

given as follows:

Failed to load the JNI shared library & ldquo; /home/java2000_wl/jdk/jdk1.6.0_41/bin/. . /jre/lib/i386/client/libjvm.so”.

Solution:

Modify the /etc/sysconfig/selinux file to disable the SELINUX option

# 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:

#target - Only targeted network daemons are protected.

#strict - Full SELinux protection.

SELINUXTYPE=targeted

The above is a description of how CentOS starts Eclipse error reporting. If you have problems with Eclipse that can't be started, can you refer to Ubuntu not being able to start Eclipse?

Copyright © Windows knowledge All Rights Reserved