Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » [SOLVED] JVM terminated. Exit code=1(:can't open Eclipse after an abrupt hardware restart)
[SOLVED] JVM terminated. Exit code=1 [message #1793326] Sat, 04 August 2018 09:12
Harry Kar is currently offline Harry KarFriend
Messages: 4
Registered: August 2018
Junior Member
Eclipse Neon has worked flawlessly till an abrupt machine's restart (in which eclipse
application happens to be open)
after that, clicked on executable (eclipse) causes eclipse not start and emit that
error message :

Quote:
JVM terminated. Exit code=1
/home/harrykar/Java8/eclipseJava/jre/bin/java
-jar /home/harrykar/Java8/eclipseJava/plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /home/harrykar/Java8/eclipseJava/eclipse
-name Eclipse
--launcher.library /home/harrykar/Java8/eclipseJava/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.401.v20161122-1740/eclipse_1618.so
-startup /home/harrykar/Java8/eclipseJava/plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
--launcher.overrideVmargs
-exitdata 380035
-vm /home/harrykar/Java8/eclipseJava/jre/bin/java
-vmargs
-jar /home/harrykar/Java8/eclipseJava/plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar


first thing i control was the .ini file and in fact that resulted empty
After had copied the original eclipse.ini (from the installation .tar.gz file i had apart)
in $ECLIPSE_HOME directory and re-clicked the executable eclipse continue not
execute -as earlier and emit that (a little different) error message :

Quote:
JVM terminated. Exit code=1
/home/harrykar/Java8/eclipseJava/jre/bin/java
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jar /home/harrykar/Java8/eclipseJava//plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /home/harrykar/Java8/eclipseJava//plugins/org.eclipse.platform_4.6.3.v20170301-0400/splash.bmp
-launcher /home/harrykar/Java8/eclipseJava/eclipse
-name Eclipse
--launcher.library /home/harrykar/Java8/eclipseJava//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.401.v20161122-1740/eclipse_1618.so
-startup /home/harrykar/Java8/eclipseJava//plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
--launcher.appendVmargs
-exitdata 350035
-product org.eclipse.epp.package.java.product
-vm /home/harrykar/Java8/eclipseJava/jre/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jar /home/harrykar/Java8/eclipseJava//plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar


And now what? dunno what to do :(
TIA who contribute to solve


<<Update>>
in the above mentioned (original eclipse's distribution) configuration file eclipse.ini
1. delete line "-vmargs" and
2. add Your path to JDK after the last line with the format shown below
-vm
/home/harrykar/Java8/jdk1.8.0_172/bin


Now eclipse works flawlessly as before

PS: for completeness i use an old system with Ubuntu 10.04 (aka Lucid Lynx ) LTS that
can accept as latest eclipse release only Neon.3 Release (4.6.3) cause newer eclipse releases require newer releases of gtk library


Best Regards
Harry G.T. Kar

[Updated on: Tue, 07 August 2018 12:38]

Report message to a moderator

Previous Topic:photon ubuntu startup errors
Next Topic:Eclipse keeps crashing without errors in .log @ubuntu
Goto Forum:
  


Current Time: Sat Oct 20 10:48:55 GMT 2018

Powered by FUDForum. Page generated in 0.02844 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top