我正在尝试使用Eclipse首次尝试Android开发.我在尝试运行Eclipse时遇到了这个问题,仅在几分钟前安装了4.2版本.
在第一次尝试启动Eclipse而没有任何参数来指定Java VM之后,我收到了一条错误消息couldn't find a Java VM called javaw.exe inside the Eclipse folder,因此我找到了安装Java的位置并将该位置指定为快捷方式目标中的参数.现在我得到了一个不同的错误Java was started but returned exit code=13.
类似的问题似乎表明它是一个32位/ 64位冲突,但我99%肯定我下载了Eclipse的64位版本Java (RE 7u5),我选择了因为我有64位Windows 7.
快捷方式目标:"C:\ Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\eclipse.exe"-vm"C:\ Program Files(x86)\ Java\jre7\bin\javaw.exe"
完整的错误代码......:
Java was started but returned exit code=13
C:\Program Files (x86)\Java\jre7\bin\javaw.exe
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher_1.30v20120522-1813.jar
-os win32
-ws win32
-arch x86_64
-showsplash C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\\plugins\org.eclipse.platform_4.2.0.v201206081400\splash.bmp
-launcher C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v201205221813\eclipse_1503.dll
-startup C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher_1.30v20120522-1813.jar
--launcher.overrideVmargs
-exitdata …Run Code Online (Sandbox Code Playgroud) 我刚刚将Java更新到1.8 u25,现在每次尝试打开Eclipse时都会收到此消息

当谈到Eclipse时,我不知道我做错了什么.我重新下载了很多次,但仍然无法让它工作.我怎么能解决这个问题?
这是我的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.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\Program Files (x86)\Java\jdk1.8.0_25\jre\bin
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Xms40m
-Xmx512m
Run Code Online (Sandbox Code Playgroud) 我正在尝试运行eclipse并遇到错误.我使用Kubuntu作为我的操作系统,当我输入java -version终端时,我得到了"java版本"1.6.0_23"'.我安装了openJDK,但我不确定下一步该怎么做.有什么想法吗?谢谢.
错误:
JVM terminated. Exit code=13
/usr/bin/java
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
-jar /home/lucky/Downloads/eclipse//plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
-os linux
-ws gtk
-arch x86
-showsplash
- launcher /home/lucky/Downloads/eclipse/eclipse
-name Eclipse
--launcher.library /home/lucky/Downloads/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.2.R36x_v20101019_1345/eclipse_1310.so
-startup /home/lucky/Downloads/eclipse//plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
-exitdata 5cf8058
-product org.eclipse.epp.package.php.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
-jar /home/lucky/Downloads/eclipse//plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
Run Code Online (Sandbox Code Playgroud)
我的eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.2.R36x_v20101019_1345
-product
org.eclipse.epp.package.php.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
Run Code Online (Sandbox Code Playgroud) 我有Eclipse的问题.当我尝试启动它时,我收到以下错误消息:
JVM terminated. Exit code=13
/usr/bin/java
-Xms40m
-Xmx384m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-XX:MaxPermSize=256m
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.dist.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
--launcher.library /usr/lib/eclipse//plugins /org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.dist/eclipse_1407.so
-startup /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.dist.jar
--launcher.overrideVmargs
-exitdata a8004
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx384m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
-XX:MaxPermSize=256m
-jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.dist.jar
Run Code Online (Sandbox Code Playgroud)
我找到了相同的错误代码,但下面没有相同的文本,并且建议的解决方案不起作用.
你能帮助我吗?
我看到有几个主题有相同的例外,但解决方案并不适合我.
我的规格:
几天前它一切都很好.现在我想启动它,然后它显示以下错误.可悲的是,我不能在这里附上图片,因为我的声誉很低.但是出现了错误"Java已启动但返回退出代码13"
这是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
Run Code Online (Sandbox Code Playgroud)
自从它最后一次工作以来我唯一做过的事情就是安装了python并更新了路径varable.我读到路径变量可能是原因,但我检查了它,看不到任何坏事.有人知道原因是什么.
谢谢
我正在尝试在我的x64机器上使用Eclipse Helios(我很确定现在任何eclipse都可能出现这个问题)但它只是不合作.
当我尝试运行eclipse时,我得到以下内容:

我安装了
我已正确链接我的环境变量并尝试编译Java文件cmd并成功完成.
每当我尝试运行eclipse时,我都会得到 exit code=13 (required java version=1.5)
我尝试在
-vm "mypath\jdk1.6.025\jre\bin"
论坛建议的cmd: command中运行以下命令
以及其他路径
-vm "mypath\jdk1.6.025\bin"
-vm "mypath\jdk1.6.025\jre\bin\javaw.exe"
甚至
-vm "mypath\jre6\bin"出于绝望而无济于事.
我完全没有想法,我想知道是否有人有这个问题.我甚至下载了helios x86版本和x86 JDK版本,但它没有解决问题.(我更改了环境变量)我改变了一切,但我被卡住了......
相关问题: 无法运行Eclipse
当我开始eclipse时,我首先得到了这个错误对话框:

在此错误之后,我在这里研究并找到了解决方案.
这个解决方案让我在eclipse.ini中给出这一行:
-vm
C:\Program Files (x86)\Java\jdk1.7.0_25\bin\javaw.exe
Run Code Online (Sandbox Code Playgroud)
但在添加之后,我发现了另一种错误对话框:

在这个错误之后,我研究了很多,并在发现这些解决方案 sol1,sol2 之后,错误未解决.有谁知道我为什么面临这个问题.
注意:我知道这是一个重复的问题,但所有这些重复的问题尚未解决,所以不要将其标记为重复!
我是新手,想尝试Android应用开发.所以我从https://developer.android.com下载了SDK和ADT .在此之后,我意识到我需要一个Java的东西,所以我从Java站点下载了jdk1.8.0_20.我的ecplise文件夹位于c:\ Android \("Android"是我为此目的创建的文件夹)安装的Java i位于C:\ Program Files(x86)\ Java中.我的系统也运行在64位Windows 7操作系统上.现在,当我运行eclipse时,我得到以下错误.
Java was started but returned exit code=13
C:\ProgramData\Oracle\Java\javapath\javaw.exe
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms512m
-Xmx1024m
-jar C:\Android\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os win32
-ws win32
-arch x86_64
-showsplash C:\Android\eclipse\\plugins\org.eclipse.platform_4.2.2.v201302041200\splash.bmp
-launcher C:\Android\eclipse\eclipse.exe
-name Eclipse
--launcher.labrary C:\Android\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807\eclipse_1503.dll
-startup C:\Android\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exit data f24_5c
-
-launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807
-product com.android.ide.eclipse.adt.package.adtproduct
-
-launcher.XXMaxPermSize256m
-
-launcher.defaultAction openfile
-vm C:\ProgramData\Oracle\Java\javapath\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms512m
-Xmx1024m
-jar C:\Android\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
Run Code Online (Sandbox Code Playgroud)
在所有这些之后,我检查了eclipse.ini文件,这就是它所拥有的
-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.adtproduct
-showsplash org.eclipse.platform
-
-launcher.XXMaxPermSize256m
-
-launcher.defaultAction openFile
-vmargs …Run Code Online (Sandbox Code Playgroud) 最近我通过chrome(版本38.0.2125.104 m)提供的更新过程更新了JRE("你的java已经过时,需要更新"或类似).结果是我的日食月神(64位)不再执行了.仔细观察我发现的背景:chrome java updater(notbeene从Oracle站点启动)在env var PATH前面添加了C:\ ProgramData\Oracle\Java\javapath.此文件夹包含三个符号链接,指向(x86)程序文件夹中最新的java 8 JRE安装 - >因此为32位java JRE.
显然,Oracle(用Java8)取代了旧技术 - 在system32(64位应用程序)中使用java启动器.SysWOW64(适用于32位应用程序) - 采用这种新方法.但是:在这些位置仍然存在"旧"java.exe/javaw.exe/javaws.exe,特别是实际版本(与新符号链接相同的文件日期).
我的问题是:a)在64位机器上安装全局32位JRE的原因是什么?b)有没有比仅删除新路径条目更好的方法来解决问题?
我更新了Java,现在Eclipse无法启动,它说Java已经启动但返回了退出代码= 13.Eclipse正常工作直到此更新.有谁知道该怎么办?
我有一个不运行的RCP产品.然后我新安装了Eclipse,当我打开Eclipse.exe时它没有打开Eclipse IDE.我收到错误:NoClassDefFoundError:com/mercury/javashared/agentloader/AgentBootstrap(请参阅下面的完整描述).
系统安装了最新的jdk,jre.这个错误的原因是什么?(PS:当在另一台机器上解压缩时,同样的eclipse可以正常工作).我可以在那里运行eclipse和我的eclipse rcp产品)
!ENTRY org.eclipse.osgi 4 0 2009-06-25 10:40:19.468
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError: com/mercury/javashared/agentloader/AgentBootstrap
at org.eclipse.swt.widgets.Display.<init>(Display.java:393)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:448)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEApplication.java:122)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:75)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.ClassNotFoundException: com.mercury.javashared.agentloader.AgentBootstrap
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:402)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:347)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 17 more
Run Code Online (Sandbox Code Playgroud)
更新: 我在机器上安装了QTP(Quick Test Pro).当我卸载QTP时,我能够同时使用RCP产品和Eclipse.exe. …
我无法在Windows 7上启动eclipse.昨天工作正常.这是我开始日食时的错误截图:
来自CMD的 Java版本
为什么它为java和提供不同的版本javac?
我的java home设置为Jdk 7,如下所示:
JAVA_HOME = C:\Program Files\Java\jdk1.7.0_60
注意:我的机器上安装了jdk 8,但是我没有设置jdk 8路径.
这个问题已被问过几次,但我无法在我的机器上解决它,所以请不要将其标记为重复.