I'm using eclipse Luna on Xubuntu 14.10, it worked well.
when i launch eclipse sometimes it crached, sometimes it worked well at the first time then it crached suddenly with this error.
JVM terminated. Exit code=1
/usr/lib/jvm/java-7-openjdk-amd64/bin/java
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /usr/local/eclipse-luna/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /usr/local/eclipse-luna/eclipse//plugins/org.eclipse.platform_4.4.0.v20140925-0400/splash.bmp
-launcher /usr/local/eclipse-luna/eclipse/eclipse
-name Eclipse
--launcher.library /usr/local/eclipse-luna/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326/eclipse_1605.so
-startup /usr/local/eclipse-luna/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.appendVmargs
-exitdata 20e801f
-product org.eclipse.epp.package.jee.product
-vm /usr/lib/jvm/java-7-openjdk-amd64/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /usr/local/eclipse-luna/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
there is my eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
/usr/lib/jvm/java-7-openjdk-amd64/bin/java
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
i used openjdk7, when i typed java -version,
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu1)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
My Eclipse's version is the the good one, the 64 bits
I looked at the others posts which treat the same probleme but the solutions which proposed didn't helpe me.
what can I do please. Any thoughts?
Thank you for advance.
There was a Xubuntu Bug, i found a solution from this link,
Bug 11893 - Eclipse crashes frequently with Xfce 4.12
There were two choices :
use another windows manager like openbox for exemple.
try to downgrade the xfwm4 (Xubuntu 15.04), but i coudn't then i used openbox, and eclipse work well.
i hope that can help someone.
Related
I'm trying to install eclipse(eclipse jee oxygen 4.7) in my system(64 bit). Unfortunately i don't have java JDK and JRE. I'm left out with only OpenJDK 11.0.1. Is there any way to configure eclipse with OpenJDK. Below is my eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.500.v20170511-1520
-product
org.eclipse.epp.package.jee.product
-showsplash
org.eclipse.epp.package.common
--launcher.defaultAction
openFile
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
C:\Program Files\Oracle\OpenJDK 11.0.1\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=#user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
--add-modules=ALL-SYSTEM
--permit-illegal-access
Eclipse 4.7 was released in 2017 doesn't support Java 11 which was released in 2018.
Either downgrade to Java 8 or use a newer Eclipse version that supports Java 11. See Eclipse/Installation wiki for further information.
Premise:
I am constrained to work on a very old Ubuntu 10.04LTS(aka Lucid Lynx)
After have downloaded (now) Oracle's most used 1.8 Java(and latest 1.8 release: 1.8.0_172) decompressed it and set it correctly in PATH in bash i downloaded and decompressed in $ECLIPSE_HOME the latest runnable(cause eclipse releases >= Oxygen require a newer gtk library that actually can't have in that PC) eclipse for my machine: eclipse-java-neon-3-linux-gtk-x86_64.tar.gz
When i tried to execute eclipse instead of a running instance i got that error dialog message
JVM terminated. Exit code=1
/usr/bin/java
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jar /home/harrykar/Java8/eclipseJavaNeon64//plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /home/harrykar/Java8/eclipseJavaNeon64//plugins/org.eclipse.platform_4.6.3.v20170301-0400/splash.bmp
-launcher /home/harrykar/Java8/eclipseJavaNeon64/eclipse
-name Eclipse
--launcher.library /home/harrykar/Java8/eclipseJavaNeon64//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.401.v20161122-1740/eclipse_1618.so
-startup /home/harrykar/Java8/eclipseJavaNeon64//plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
--launcher.appendVmargs
-exitdata 6e8037
-product org.eclipse.epp.package.java.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jar /home/harrykar/Java8/eclipseJavaNeon64//plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
Anyone has a clue?
TIA
Best Regards
Harry G.T. Kar
All that time i was focused to search in Web for a solution (but without luck) and not dig into the eclipse.ini file assumed it correct.
My eclipse.ini after eclipse installation looked like that:
-startup
plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.401.v20161122-1740
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
I notice here missed the path to java(JDK) actually in use(don't forget i used a custom installation of java - in my home directory - not that provided from the Ubuntu system in /usr/bin/ as the error message correctly reported)
So the solution was simply to add 2 lines in the eclipse.ini(i.e. the custom path to JDK).
Beware it's important to write these lines before the -vmargs as shown below (or also delete -vmargs if not use it)
-vm
/home/harrykar/Java8/jdk1.8.0_172/bin
-vmargs
And that's it eclipse now works as intended
Best Regards
Harry G.T. Kar
All the eclipse versions installed on my machine have been randomly crashing. I have Mars, Indigo developer 64 bit versions and Luna - JEE 64 bit version. I am running windows 10, java 8 - 64 bit, maven-3.
I have tried adding -vm to point to the jvm.dll in eclipse.ini. I have set -Xms 512m and -Xmx 1024m. Here is eclipse.ini for Mars:
-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256m
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
C:/Program Files/Java/jdk1.8.0_102/jre/bin/server/jvm.dll
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Xms512m
-Xmx1024m
-server
-XX:+UseParallelGC
-Xverify:none
-javaagent:plugins/com.zeroturnaround.eclipse.optimizer.plugin_1.0.8/agent/eclipse-optimizer-agent.jar
I tried to run eclipse as an administrator. Nothing has worked so far.
Here is the stack/thread dump for the process - http://pastebin.com/3cSjLh2Z
Any suggestions will be greatly appreciated.
I've reviewed previous answers for this type of question, and have tried to act according to the answers given but still come up with this problem.
I've deleted previous versions of Eclipse and installed the 64-bit version in line with my OS, ensured JRE is for 64-bit.
Below, is my STS.ini
-startup
plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.400.v20160518-1444
-product
org.springsource.sts.ide
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Xms40m
-Xverify:none
-Dorg.eclipse.swt.browser.IEVersion=10001
-Xmx768m
And for eclipse:
-startup
plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
--launcher.library
C:\Users\KIDS\.p2\pool\plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.400.v20160518-1444
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-Declipse.p2.max.threads=10
-Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
Absence of -vm is since I added that before all the re-installing but with the new installations the same problem occurs.
The STS.ini is for 32 bit – greg-449
I use eclipse for android development.
Sometimes, if Google Chrome is running, it crashes and Eclipse also.
And I get message Java was started but returned exit code=1.
Full message is in print screen.
and my eclipse.ini :
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130807-1835
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vm
C:/Program Files/Java/jdk1.7.0_51/jre/bin/server/jvm.dll
-vmargs
-Xms1024m
-Xmx1024m
-XX:MaxPermSize=512m
If your JDK version is 32bit then download Eclipse or STS of 32 bit.
If your JDK version is 64bit then download Eclipse or STS of 64 bit.This worked for me