Friday, January 21, 2011

Tip: Eclipse and Linux Installation Troubleshoot

Problem: After installing Eclipse on Linux, if you get:
"Failed to load the JNI shared library /usr/java/jdk1.6.0_23/jre/bin/../lib/i386/client/libjvm.so"

or

"/opt/java/jdk1.6.0_23/bin/../jre/lib/i386/client/libjvm.so: cannot enable executable stack as shared object requires: Permission denied"

Solution:

If you have sudo rights,
$> sudo chcon -t execmem_exec_t '/opt/eclipse/eclipse'

No comments: