本文介绍了Java已经启动,但返回退出代码= 13 eclipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看着所有其他的地方,我不知道该怎么做。



如何在控制台中输入 java -version 因为我所有的回复是java不被识别为一个命令。



我去了java网站,我得到了版本1.7.0_45



所以我这样做p>

而不是

它没有工作

它也没有工作。



我从官方网站下载了10月30日最新的android sdk
帮助?

  -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
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm C:\Program文件(x86)\Java\jre7\bin\\ \\ javaw.exe
-vmargs
-Dosgi.requiredJavaVersion = 1.6
-Xms40
-Xmx768m
-Declipse.buildId = v22.3.0-887826
-XX:MaxPermSize = 512M


解决方案

问题是你正在尝试使用32位版本的Java启动一个64位版本的Eclipse。您可以从下载



使用64位JVM启动Eclipse,问题将消失。



要执行此操作:

$ e code $ e code $ \\

您还可以更新您的 eclipse.ini中的前两行文件通过执行以下操作来默认使用64位java:

  -vm 
c:\path \to\64\bit\bin\javaw.exe

另外,你可以还可以下载32位版本的Eclipse,以便与32位Java一起使用。关键在于它的位数是一样的。


I looked at all the other places and I can't figure out how to do it.

How do you type java -version into the console. Because all I get back is that java is not recognized as a command.

I went on the java site and I got the version 1.7.0_45

so I did this

instead of

it didn't work either

It also didn't work.

I've downloaded the most recent android sdk of October 30th from the official site.Help?

-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
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm C:\Program Files (x86)\Java\jre7\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40
-Xmx768m
-Declipse.buildId=v22.3.0-887826
-XX:MaxPermSize=512M
解决方案

The problem is that you are trying to start a 64 bit version of Eclipse with a 32 bit version of Java. You can download it from here

Start Eclipse with a 64 bit JVM and the problem will go away.

To do so:

eclipse.exe -vm c:\path\to\64\bit\bin\javaw.exe

You can also update the the first two lines in your eclipse.ini file to use the 64 bit java by default by doing the following:

-vm
c:\path\to\64\bit\bin\javaw.exe

Also, you can also download a 32 bit version of Eclipse for use with 32 bit Java. The key is that the bitness is the same.

这篇关于Java已经启动,但返回退出代码= 13 eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 07:39