2016-12-19 101 views
0

我一直沮喪的問題,因爲一天。我不能讓日食工作。日食沒有開始,沒有從谷歌答案的幫助

我做了一個新的安裝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位,所有的安裝文件也是如此。

請幫助

+0

什麼是eclipse版本?並做你看看這裏:https://bugs.eclipse.org/bugs/show_bug.cgi?id=493223 – Azodious

+0

Bhavil您好,我發現第4行的eclipse.ini中的一些差異,如您使用的是64位版本,讓嘗試刪除X86_。新文件應該包含X64_ –

+0

這行這裏'-vm C:\ Program Files \ Java \ jdk1.7.0_80 \ bin'指定將用於啓動eclipse的JVM。這條道路是否存在?它是64位版本嗎? – GhostCat

回答

0

OK,這是頗爲尷尬......但問題是Java的..日食霓虹燈需要Java 8.安裝的是,一切都正常運行。

謝謝大家的幫助。 :)