Eclipse JVM error completed. Exit Code = 1 / usr / Java70 / jre / bin / java

I get an error like

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

My java version:

 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 getting this error and how to 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 %te" 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 "". 
+6
source share
5 answers

The problem was that whenever you go to any work item in RTC, this error occurred and the eclipse crashed. Basically, the user interface did not appear or appeared halfway. This was resolved by adding the following to the last line in eclipse.ini :

 -Dorg.eclipse.swt.internal.gtk.cairoGraphics=false 
+4
source

Firstly, I highly recommend using webupd8 ppa using the following commands:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Then install:

sudo update-java-alternatives -s java-8-oracle

The advantage is the ease of updates.

+5
source

This can happen if multiple instances of Java are installed. Run the following command -

 sudo update-alternatives --config java 

Then select the correct java path and run the eclipse application.

+5
source

Try putting your java package in eclipse.ini

If you are using Ubuntu, the general java path is / usr / lib / jvm. Cm:

 -vm /usr/lib/jvm/java-x-openjdk-amdxx/bin/java -vmargs 

Remember to put -vmargs after -vm

+3
source

Thus, even I encountered the same error when I installed eclipse Oxygen on my system. I did the whole setup and configured it accordingly, but when I tried to open eclipse.desktop via the MENU options or even tried to start the eclipse through the terminal, I encountered an error as described above. So here is what I did: -

1) I changed eclipse.ini , adding: - Dorg.eclipse.swt.internal.gtk.cairoGraphics = false (still no luck, I ran into the same error)

2) Updated version of java, adding it alternatively by adding these commands to the terminal

sudo add-apt-repository ppa: webupd8team / java

Sudo apt-get update

sudo apt-get install oracle-java8-installer

Hope this helps! :)

0
source

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


All Articles