Eclipse won't run; Java exit code 13 [duplicate] - java

This question already has answers here:
Cannot run Eclipse; JVM terminated. Exit code=13
(34 answers)
Closed 8 years ago.
When opening Eclipse, following error message is shown. Below is my eclipse.ini file.
eclipse.ini
-startup
plugins/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.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
Anyone know what I should do?

I have the same problem, my solution, not good i think, was unistall java and install it again, also with the jdk, java 1.6 or newer is required.

Related

Eclipse error exit code=13, fix not working [duplicate]

This question already has answers here:
Cannot run Eclipse; JVM terminated. Exit code=13
(34 answers)
Closed 6 years ago.
I had updated my Java version from version 6 to 8. Yesterday, and eclipse won't open I got error 13, googled the solution and applied the changes but its still not working. To confirm what is in my config file
-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 (x86)\Java\jdk1.8.0_101\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx1024m
maybe you should clean the VM arguments and I saw you add a parameter 'Dosgi' it need jdk version 1.7 so maybe you should change your JDK version .
you can change your vm argements in debug configurations.

Eclipse not starting, exit code 13 [duplicate]

This question already has answers here:
Cannot run Eclipse; JVM terminated. Exit code=13
(34 answers)
Closed 7 years ago.
Eclipse has just recently stopped starting correctly. This is the screen it gives:
Not sure what's changed since the last time it worked properly.
This is my ini file:
-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.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx1024m
May be you are using 64 bit eclipse and 32 bit jvm or vice-versa.

Eclipse Mars exit code = 13 error [duplicate]

This question already has answers here:
Cannot run Eclipse; JVM terminated. Exit code=13
(34 answers)
Closed 7 years ago.
Im trying to open my new eclipse for java but I keep getting an error saying "Java was started but returned exit code=13" I already tried adding the -vm C:\Program File (x86)\Java\1.8.0\jre\bin\javaw.exe line but the error still keeps popping up. What am I doing wrong?
-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.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
C:\Program Files (x86)\Java\1.8.0\jre\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx1024m
C:\Program Files (x86)\Java\1.8.0\jre\bin\javaw.exe means 32-bit Java. org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417 means a 64-bit Eclipse. They have to match. Go get the 32-bit Eclipse for Java EE download.

Eclipse won't start(no error message)

I installed jdk1.7.0_79 and Eclipse for Java EE 64 bit.
When trying to run Eclipse I got the following error: Java was started but returned exit code=1
I followed this solution: Eclipse returns error message "Java was started but returned exit code = 1"
Now, there is no error, but Eclipse isn't starting.
I tried all things said here: https://wiki.eclipse.org/Eclipse.ini#Specifying_the_JVM, but when I try the other two options(\bin\javaw.exe, \jre\bin\java.exe), I get error code=1 error.
When I try to set it to \jre\bin\server\jvm.dll Eclipse won't start, and nothing shows up.
I tried reinstalling java and it didn't work.
Edit: I also tried adding -XX:-UseCompressedOops in eclipse.ini, but that didn't work either
Eclipse.ini content:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20150204-1316
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
1024M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
1024m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-XX:-UseCompressedOops
-vm
C:\Program Files\Java\jre7\bin\server\jvm.dll
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms1024
-Xmx1024m

Failed to create JVM in Eclipse [duplicate]

This question already has answers here:
Eclipse error: 'Failed to create the Java Virtual Machine'
(43 answers)
Closed 8 years ago.
My Eclipse reports the error that it failed to create a Java virtual machine although I use it daily, and I didn't change anything. Below is my eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807
-product
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256M
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v22.3.0-887826
-XX:MaxPermSize=512M
I added
-vm
C:\Java\jdk1.6.0_29\bin\javaw.exe
main problem is
"-vm" option should be given above "-vmargs"
It worked for me.

Categories