Fedora 12 eclipse 启动失败 JVM terminated. Exit code=-1

fedora 12 ,启动eclipse 3.5 r2 
错误信息如下:
JVM terminated. Exit code=-1
-Xms40m
-Xmx256m
-XX:MaxPermSize=256m
-Djava.class.path=/home/mahdi/App/eclipse//plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-os linux
-ws gtk
-arch x86
-showsplash /home/mahdi/App/eclipse//plugins/org.eclipse.platform_3.3.201.v200909170800/splash.bmp
-launcher /home/mahdi/App/eclipse/eclipse
-name Eclipse
--launcher.library /home/mahdi/App/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520/eclipse_1206.so
-startup /home/mahdi/App/eclipse//plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-vm /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/../lib/i386/client/libjvm.so
-vmargs
-Xms40m
-Xmx256m
-XX:MaxPermSize=256m
-Djava.class.path=/home/mahdi/App/eclipse//plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar

 解决方法:禁用selinux

sudo gedit /etc/sysconfig/selinux

修改SELINUX=enforcing 为 SELINUX=disabled

重启reboot,能启动了,我测试过。
 

相关推荐