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

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.


First, I strongly recommend you use the webupd8 ppa, use following commands:

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

Then to set it:

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

The advantage is ease of updates.


Try to put your java package in eclipse.ini

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

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

Remember to put -vmargs after -vm


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