NeutronNick
NeutronNick

Reputation: 11

eclipse java - crashing on linux

I am currently using openSuSE with XFCE and I installed Eclipse through YAST. Ecipse is version 3.4.0 and usually it crashes for no reason but I have been able to recreate the error when I write the the '.' in import java.io.*; and the 'err' in System.err.println();.This is the error message eclipse emits:

JVM terminated. Exit code=127
/usr/bin/java
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /usr/lib64/eclipse//plugins/org.eclipse.platform_4.3.0.v20130605-2000/splash.bmp
-launcher /usr/lib64/eclipse/eclipse
-name Eclipse
--launcher.library /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20130521-0416/eclipse_1506.so
-startup /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.appendVmargs
-exitdata 1cd0022
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar /usr/lib64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar

java -version returns

java version "1.7.0_40" OpenJDK Runtime Environment (IcedTea 2.4.1) (suse-8.18.1-x86_64)

OpenJDK 64-Bit Server VM (build 24.0-b50, mixed mode)

Upvotes: 1

Views: 5720

Answers (2)

williamj949
williamj949

Reputation: 11316

You might want to try adding

org.eclipse.swt.browser.DefaultType=mozilla

to eclipse.ini file.

Upvotes: 1

Chris Hinshaw
Chris Hinshaw

Reputation: 7285

You need to look at the .log file to resolve the problem. It is located in the workspace/.metadata/.log . It will tell you why it is crashing and will give you the stacktrace of the issue.

Upvotes: 2

Related Questions