Eclipse exits automatically exit code 127

Eclipse exits automatically and suddenly and I think that reason might be due to a plugin. The exit happens right when I want for the auto complete feature or eclipse tries for it.

The message it gives when exiting is:

JVM terminated. Exit code=127 /opt/jdk1.7.0_79/bin/java -Dosgi.requiredJavaVersion=1.6 -XX:MaxPermSize=256m -Xms40m -Xmx512m -jar /home/stormdev/Downloads/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -os linux -ws gtk -arch x86_64 -showsplash /home/stormdev/Downloads/eclipse//plugins/org.eclipse.platform_4.4.2.v20150204-1700/splash.bmp -launcher /home/stormdev/Downloads/eclipse/eclipse -name Eclipse --launcher.library /home/stormdev/Downloads/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20150204-1316/eclipse_1607.so -startup /home/stormdev/Downloads/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar --launcher.appendVmargs -exitdata f800f -product org.eclipse.epp.package.jee.product -vm /opt/jdk1.7.0_79/bin/java -vmargs -Dosgi.requiredJavaVersion=1.6 -XX:MaxPermSize=256m -Xms40m -Xmx512m -jar /home/stormdev/Downloads/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar

What can be the reason for this?

I am using Eclipse luna on centOS. using oracle java7.

When i try to run eclipse on command line it gives me this error

/opt/jdk1.7.0_79/bin/java: symbol lookup error: /usr/lib64/libwebkit-1.0.so.2: undefined symbol: soup_message_set_first_party

Tried steps:

  • eclipse -clean -clearPersistedState didn't help me
  • switching workspace hasn't been helpful either
  • Update

    yum update libsoup command has resolved my issue.

    Downvoters, please check the questioner problem before discarding it as trivial


    Based on this error message:

    symbol lookup error: /usr/lib64/libwebkit-1.0.so.2: undefined symbol: soup_message_set_first_party
    

    What it seems to be saying is that the libwebkit shared library can't be loaded because there is an incompatibility with the library that provides the soup_message_set_first_party . Based on this link, I'd say the incompatible library is libsoup .

    So, it seems as if you have somehow managed to get incompatible versions of libwebkit and libsoup on your system. The copy of libwebkit clearly comes from /usr/lib64, but it would be interesting (and possibly informative) to know where libsoup comes from and what version it is.

    On my Fedora 20 system, which works with Eclipse, I have these libraries / symlinks, provided by the package management system. I assume they are compatible, because I don't see the errors that you do when I run Eclipse.

    /usr/lib64/libsoup-gnome-2.4.so.1.7.0
    /usr/lib64/libsoup-gnome-2.4.so.1
    /usr/lib64/libsoup-2.4.so.1.7.0
    /usr/lib64/libsoup-2.4.so.1
    /usr/lib64/libwebkitgtk-3.0.so.0
    /usr/lib64/libwebkitgtk-1.0.so.0
    /usr/lib64/libwebkitgtk-1.0.so.0.19.16
    /usr/lib64/libwebkitgtk-3.0.so.0.19.16
    

    UPDATE - After further digging, I don't think my theory above is correct. I can see no obvious dependency between libwebkit and libsoup. (The puzzling thing is that on my system I have libwebkitgtk and not libwebkit. But that might just be because my system is not a clean Fedora / Gnome install. Rather it has had KDE added "after the fast".)

    If that theory is incorrect, then the next thing is to see if this is a plugin problem. Backup your existing Eclipse install AND your workspaces, and then install a fresh copy of Luna without any plugins. If that works, then install your plugins one at a time, doing a Eclipse exit + relaunch + test between each one. When you manage to reproduce the problem you have most likely identified the offending plugin. (If you can't reproduce the problem, you have "solved" the problem.)

    链接地址: http://www.djcxy.com/p/29570.html

    上一篇: 如何将清单权限添加到android应用程序?

    下一篇: Eclipse会自动退出代码127