我一直沮丧的问题,因为一天。我不能让日食工作。日食没有开始,没有从谷歌答案的帮助
我做了一个新的安装Win 10 64 2天前。
我已经安装了JAVA JDK 1.7的x64位,并正确设置JAVA_HOME & PATH变量(我查了一下,通过使用Java,javac的,Java的版本,javac的-version和回声%JAVA_HOME%,在默认CMD从运行窗口) 。
出人意料的是,Android的工作室完美运行。
但是Eclipse不会(错误:月食无法启动Java虚拟机)。
我卸载,重新安装了......没有什么变化。我在eclipse.ini中设置了java路径。然后终于第一次出现eclipse启动画面(指向javaw.exe给出的错误,eclipse无法启动Java虚拟机)
但是然后它会崩溃给出错误消息来检查日志。
当我检查日志的最后几行的状态(对数大约是1000线)
java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.touchpoint.natives.nativePackageExtractor, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.oomph.setup.core.SetupArchiver, org.eclipse.pde.build.Build.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
我搜索谷歌上下,但我似乎无法找到解决的办法!
我粘贴的eclipse.ini和配置\ config.ini文件的文件以供您查看。
的eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.400.v20160518-1444
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
C:\Program Files\Java\jdk1.7.0_80\bin
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx1024m
的config.ini
#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser
#Fri Oct 07 13:01:29 EDT 2016
org.eclipse.update.reconcile=false
eclipse.p2.profile=epp.package.jee
[email protected]/workspace
osgi.framework=file\:plugins/org.eclipse.osgi_3.11.1.v20160708-1632.jar
equinox.use.ds=true
eclipse.buildId=4.6.1.M20160907-1200
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.1.200.v20 [email protected]\:start
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpl econfigurator/bundles.info
eclipse.product=org.eclipse.platform.ide
osgi.splashPath=platform\:/base/plugins/org.eclipse.platform
osgi.framework.extensions=reference\:file\:org.eclipse.osgi.compatibility.state_1.0.200.v20160504-1419.jar,reference\:file\:org.eclipse.wst.jsdt.nashorn.extension_1.0.0.v201605131737.jar
eclipse.application=org.eclipse.ui.ide.workbench
[email protected]/../p2
osgi.bundles.defaultStartLevel=4
我撕扯我的头发试图找到一个解决的办法。
注:一切都是一个新的安装。 Java,Eclipse,Android Studio,Windows。系统是64位,所有的安装文件也是如此。
请帮助
什么是eclipse版本?并做你看看这里:https://bugs.eclipse.org/bugs/show_bug.cgi?id=493223 – Azodious
Bhavil您好,我发现第4行的eclipse.ini中的一些差异,如您使用的是64位版本,让尝试删除X86_。新文件应该包含X64_ –
这行这里'-vm C:\ Program Files \ Java \ jdk1.7.0_80 \ bin'指定将用于启动eclipse的JVM。这条道路是否存在?它是64位版本吗? – GhostCat