user3304677
user3304677

Reputation: 11

When running Eclipse: java was started by returned exit code=13

I am trying to download Eclipse to start making some apps. I downloaded the launcher from:

https://developer.android.com/sdk/index.html#download

I then moved the Eclipse file over to program x86.
I also updated the Eclipse file so that it changes the directory where it finds my JRE file. I will attach the file code I have so far.

Eclipse and Java are both 64

Any help will be amazing!

/-------------------------------------------------------------------------------

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807
-product
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256M
-showsplash
com.android.ide.eclipse.adt.package.product
-vm
C:\Program Files (x86)\Java\jre7\bin\java.exe
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-Declipse.buildId=v22.3.0-887826
-XX:MaxPermSize=512M

/-------------------------------------------------------------------------

Thank you!

Upvotes: 1

Views: 859

Answers (2)

Osama AbuSitta
Osama AbuSitta

Reputation: 4066

@Developer SuRu it is right And this link explain easily how can do this Java was started but returned exit code=13 [FIXED]

Or see this Answer : Add the java 32-bit version path to AptanaStudio3.ini

Upvotes: 0

SuRu
SuRu

Reputation: 739

Can you post your eclipse.ini file?

It may just be the way the error shows (and not how it is written in the eclipse.ini file), but there is text in Eclipse.ini (Specifying the JVM) that says the following:

  • The -vm option and its value (the path) must be on separate lines.
  • The value must be the full absolute path to the Java executable, not just to the Java home directory.
  • The -vm option must occur before the -vmargs option, since everything after -vmargs is passed directly to the JVM

Upvotes: 1

Related Questions