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.
Related
I have Eclipse Neon x64 and OS is Windows 10 x64, jdk1.8.0_73. All was working fine, and I updated the eclipse and now "Failed to create Java Virtual Machine" is displayed. I have set JAVA_HOME and Path variable too. I tried editing the eclipse.ini file, did tried changing -Xmx,-Xms, adding -vm ...java path.. etc .But didn't work. My eclipse.ini file is :
-startup
plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.400.v20160518-1444
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-javaagent:E:\Eclipse Neon\eclipse\plugins\com.zeroturnaround.eclipse.optimizer.plugin_1.0.11/agent/eclipse-optimizer-agent.jar
-server
-XX:PermSize=256m
-XX:MaxPermSize=512m
-XX:+UseParallelGC
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
Please suggest me some solutions.
I added -vm "C:\Program Files\Java\jdk1.8.0_73\bin\javaw.exe" to the eclipse.ini before -vmargs line, you need to remove or comment out -vmargs and it worked.
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'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.
I am using Windows 8.1 64bit and x64 Architecture and Eclipse Luna Standard Version(Latest)** When I extract my Eclipse and Started it it is giving this error.
i don't know what to do However my Eclipse.ini look like this
-startupplugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize512M
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms40m
-Xmx512m
I need Help :)
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