简体   繁体   English

在运行Eclipse时:Java由返回的退出代码= 13启动

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

I am trying to download Eclipse to start making some apps. 我正在尝试下载Eclipse以开始制作一些应用程序。 I downloaded the launcher from: 我从以下位置下载了启动器:

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

I then moved the Eclipse file over to program x86. 然后,我将Eclipse文件移至程序x86。
I also updated the Eclipse file so that it changes the directory where it finds my JRE file. 我还更新了Eclipse文件,以便它更改找到我的JRE文件的目录。 I will attach the file code I have so far. 我将附加到目前为止的文件代码。

Eclipse and Java are both 64 Eclipse和Java均为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! 谢谢!

Can you post your eclipse.ini file? 您可以发布eclipse.ini文件吗?

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: 可能只是错误显示的方式(而不是错误的显示方式,如何在eclipse.ini文件中显示),但是Eclipse.ini(指定JVM)中有以下文字:

  • The -vm option and its value (the path) must be on separate lines. -vm选项及其值(路径)必须位于单独的行上。
  • The value must be the full absolute path to the Java executable, not just to the Java home directory. 该值必须是Java可执行文件的完整绝对路径,而不仅仅是Java主目录。
  • The -vm option must occur before the -vmargs option, since everything after -vmargs is passed directly to the JVM -vm选项必须在-vmargs选项之前发生,因为-vmargs之后的所有内容都直接传递到JVM

@Developer SuRu it is right And this link explain easily how can do this Java was started but returned exit code=13 [FIXED] @Developer SuRu是正确的,并且此链接轻松地说明了如何启动Java,但返回退出代码= 13 [已修复]

Or see this Answer : Add the java 32-bit version path to AptanaStudio3.ini 或查看此答案: 将Java 32位版本路径添加到AptanaStudio3.ini

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM