MyEclipse 10不启动“Java已经启动但返回退出代码13” [英] MyEclipse 10 does not start "Java was started but returned exit code 13"
问题描述
我的规格:
- Windows 7 64位
- Java 1.6.0_33安装64位(设置路径变量)
- MyEclipse 10已安装
现在我想启动它,然后它显示以下错误。可悲的是,由于我的声誉不佳,我无法附加图片。但是错误Java已经启动但返回退出代码13发生
这是myeclipse.ini的内容
#utf8(不要删除)
-clean
-startup
../Common/plugins/org.eclipse.equinox.launcher_1。 $ 2.0 $ v $ $ $
k:\devel\Genuitec\MyEclipse 10
-vm
c:\java\bin\javaw.exe
-configuration
k:\ devel\Genuitec\MyEclipse 10\configuration
-vmargs
-Xmx768m
-XX:MaxPermSize = 256m
-XX:ReservedCodeCacheSize = 96m
-Dosgi。 nls.warnings = ignore
-Dfile.encoding = UTF8
我唯一的东西最后一次工作完成后,我安装了python并更新了可变路径。我读到路径变量可能是原因,但我检查它,看不到任何坏的。有人知道原因是什么。
谢谢
- 路径内容-Variable:C:\程序文件(x86)\ImageMagick-6.7.5-Q16; c:\Program文件(x86)\ImageMagick-6.7.5-Q16;%SystemRoot%\system32;%SystemRoot %;%SystemRoot%\System32\Wbem; C:\Program Files(x86)\Common Files\Roxio Shared\DLLShared\; C:\Program Files(x86)\Common Files\ Roxio Shared\9.0\DLLShared\;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%ANT_HOME%\bin; C:\Program Files(x86)\gs\gs8 .70\bin; C:\Program Files(x86)\gs\gs8.70\lib;%M2%;%JAVA_HOME%\bin; C:\Program Files(x86)\gs C:\程序文件(x86) C:\程序文件(x86)\gs\gs8.70\bin; C:\程序文件(x86)\gs\gs8.70 \\ lib; C:\Program文件(x86)\Common Files\Adobe\AGL; C:\Program Files\SlikSvn\bin\; C:\strawberry\c\bin; C:\strawberry\perl\site\bin; C:\strawberry\perl\bin; C:\Program文件(x86)\Microsoft SQL Server\100\Tools\Binn \VSShell\Common7\IDE\; C:\程序文件(x86)\Microsoft SQL Server\100\Tools\Binn\; C:\Program Files\Microsoft SQL Server\\ \\ 100\Tools\Binn\; C:\程序文件(x86)\Microsoft SQL Server\100\DTS\Binn\; C:\Program Files\TortoiseSVN\bin; %GROOVY_HOME%/ bin;%PYTHON_HOME%;%PYTHON_HOME%/ Scripts
造成这个错误的原因?
从
< hr>
5。
如果Eclipse文件夹位于具有空格的路径上,请尝试将其移动到简单的路径,例如直接到c:/ eclipse。
从这里: https:// stackoverflow .com / a / 8843744/325742
我的桌面上有eclipse文件夹,它给了我这个错误
我只是将eclipse文件夹移动到程序文件,它的工作,没有
的想法为什么
I saw that there are few topics with the same exception, but the solutions does not work on my side.
My specs:
- Windows 7 64 Bit
- Java 1.6.0_33 64 bit installed (Path-Variable is set)
- MyEclipse 10 installed
Some days ago it worked all fine. Now I wanted to start it, then it shows the following error. Sadly I cannot attach images here, because of my low reputation. But the error "Java was started but returned exit code 13" occurs
This is the content of the myeclipse.ini
#utf8 (do not remove)
-clean
-startup
../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_4.2.0.v201201111650
-install
k:\devel\Genuitec\MyEclipse 10
-vm
c:\java\bin\javaw.exe
-configuration
k:\devel\Genuitec\MyEclipse 10\configuration
-vmargs
-Xmx768m
-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=96m
-Dosgi.nls.warnings=ignore
-Dfile.encoding=UTF8
The only thing what I have done since it worked the last time, I installed python and updated the path varable. I read that the path variable can be the reason but I checked it and could not see anything bad. Does someone know what the reason could be.
Thanks
- Content of Path-Variable :C:\Program Files (x86)\ImageMagick-6.7.5-Q16;c:\Program Files (x86)\ImageMagick-6.7.5-Q16;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\9.0\DLLShared\;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%ANT_HOME%\bin;C:\Program Files (x86)\gs\gs8.70\bin;C:\Program Files (x86)\gs\gs8.70\lib;%M2%;%JAVA_HOME%\bin;C:\Program Files (x86)\gs\gs8.70\bin;C:\Program Files (x86)\gs\gs8.70\lib;C:\Program Files (x86)\TC UP\PLUGINS\Library;C:\Program Files (x86)\gs\gs8.70\bin;C:\Program Files (x86)\gs\gs8.70\lib;C:\Program Files (x86)\Common Files\Adobe\AGL;C:\Program Files\SlikSvn\bin\;C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\TortoiseSVN\bin;%GROOVY_HOME%/bin;%PYTHON_HOME%;%PYTHON_HOME%/Scripts
What is the cause of this error ?
From here :
this error is caused when you are attempting to start Eclipse using the wrong version of the Java Virtual Machine (JVM).
Possible Fixes/problems
1.
Try starting eclipse with hardcoded 64-bit JVM as follows :eclipse -vm C:/java/jre/bin/server/jvm.dll
2.
From here Remove the launcher.library from your eclipse.ini. Delete the following bit from the eclipse.ini :
--launcher.library
../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_4.2.0.v201201111650
3.
From here Try using the full path to the jvm.dll instead of the exe files, like so :
-vm
C:/Prog/Java/jdk1.6.0_21/jre/bin/server/jvm.dll
4.
Problem Using an x86 Eclipse with a x64 JDK.
Fix Just point to a JDK with the same architecture as your Eclipse in your eclipse.ini file, eg:
-vm
c:/java/jdk1.6.0_25_x86/jre/bin/javaw.exe
Please check the version of the JDK in the path like so by typing java -version
. On Windows 7, 64 bit with JDK 1.6.0_30 I get the following output :
Notice the 64-Bit Server VM
in the last line. Do you get this ?
See this page : Can't start Eclipse - Java was started but returned exit code=13
5.
If you Eclipse folder is on a path with spaces, try moving it to a simple path such as directly to c:/eclipse.
From here : https://stackoverflow.com/a/8843744/325742
I had the eclipse folder on my desktop and it gave me this error
I simply moved the eclipse folder to program files and it worked, no idea why
这篇关于MyEclipse 10不启动“Java已经启动但返回退出代码13”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!