Failed to start Eclipse on Fedora 12 with the message "JVM aborted. Exit code = -1"

I am using Fedora12.

I downloaded eclipse-cpp-galileo-SR1-linux-gtk.

I am using the Java version "1.6.0_18"

When I start an eclipse, I get the following error message. What could be the problem?

Screen shot

+4
source share
1 answer

I saw this message when there was an error in eclipse.ini .
Try using my eclipse.ini to see if this resolves the issue.
In particular, check for extra space at the end of each line.

With this error message:

 /usr/java/jre1.6.0_18/bin/../lib/i386/client/libjvm.so: cannot enable executable stack as shared object requires: Permission denied 

probably a real problem.

Check if this is due to the fact that most applications are not allowed to run the executable stack.
See this article .

This forum offers:

 #setsebool -P allow_execstack 1 

After reading, SELinux reveals errors in another code and SELinux Reveals Errors in other code. I then tried

 #execstack -c /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client/libjvm.so 

and it seems to work too.


June 2012 update: la89ondevg mentions in comments:

In case the command above did not make changes, so you can choose to make changes by going to System->Administration->SElinux Management after that, select " Boolean " and set Boolean accordingly or just search for " allow_execstack " in the filter and install it.
This will work the same as above.

+5
source

Source: https://habr.com/ru/post/1302341/


All Articles