Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse error JVM terminated. Exit code=1 /usr/Java70/jre/bin/java

I get a error like

JVM terminated. Exit code=1
/usr/Java70/jre/bin/java
-Dosgi.requiredJavaVersion=1.7
-Xms512m
-Xmx1024m

My java version is:

java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470sr9-20150417_01(SR9))
IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 Compressed References 20150406_242981 (JIT enabled, AOT enabled)
J9VM - R26_Java726_SR9_20150406_1443_B242981
JIT  - tr.r11_20150401_88894
GC   - R26_Java726_SR9_20150406_1443_B242981_CMPRSS
J9CL - 20150406_242981)
JCL - 20150414_02 based on Oracle 7u79-b14

My eclipse.ini:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms512m
-Xmx512m

Linux version:

LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Red Hat Enterprise Linux Server release 6.6 (Santiago)

Why am I get that error and how can I solve it?

Ran java -jar plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar

java: cairo-misc.c:380: _cairo_operator_bounded_by_source: Assertion `NOT_REACHED' failed.
JVMDUMP039I Processing dump event "abort", detail "" at 2015/06/30 21:51:32 - please wait.
JVMDUMP032I JVM requested System dump using '/root/Desktop/core.20150630.215132.10911.0001.dmp' in response to an event
JVMPORT030W /proc/sys/kernel/core_pattern setting "|/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e" specifies that the core dump is to be piped to an external program.  Attempting to rename either core or core.11074.

JVMDUMP010I System dump written to /root/Desktop/core.20150630.215132.10911.0001.dmp
JVMDUMP032I JVM requested Java dump using '/root/Desktop/javacore.20150630.215132.10911.0002.txt' in response to an event
JVMDUMP010I Java dump written to /root/Desktop/javacore.20150630.215132.10911.0002.txt
JVMDUMP032I JVM requested Snap dump using '/root/Desktop/Snap.20150630.215132.10911.0003.trc' in response to an event
JVMDUMP010I Snap dump written to /root/Desktop/Snap.20150630.215132.10911.0003.trc
JVMDUMP013I Processed dump event "abort", detail "".
like image 580
fscore Avatar asked Jun 30 '15 18:06

fscore


Video Answer


2 Answers

This might happens if multiple Java instances have been installed. Run the following command -

sudo update-alternatives --config java

Then choose the correct java path and re-run the eclipse application.

like image 83
Anupam Bera Avatar answered Nov 10 '22 00:11

Anupam Bera


The problem was that whenever navigating to any workitem on RTC, that error occurred and eclipse crashed. Basically the UI did not appear or half appeared. This was solved by adding the following to the last line in eclipse.ini:

-Dorg.eclipse.swt.internal.gtk.cairoGraphics=false
like image 35
fscore Avatar answered Nov 09 '22 23:11

fscore