2012-12-17 114 views
0

請參閱我剛纔的問題:錯誤在日誌文件中的Eclipse

Eclipse is not working after download

我刪除config文件夾,當我按下了日食是一個新創建一個新的和不同的問題:

在日誌文件中出現的問題是這樣的:

!ENTRY org.eclipse.osgi 4 0 2012-12-17 10:27:25.247 
!MESSAGE Application error 
!STACK 1 
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini). 
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) 
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353) 
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) 
    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.equinox.launcher.Main.invokeFramework(Main.java:629) 
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) 
    at org.eclipse.equinox.launcher.Main.run(Main.java:1438) 

這是什麼問題呢?

+0

您是否嘗試下載並運行IDE的其他變化?像RCP/RAP或完整的EE IDE? – GGrec

+0

不,我沒有試過這件事嗎? –

+0

**適用於RCP和RAP開發人員的Eclipse,227 MB **請嘗試下載此版本,查看是否得到相同的錯誤。 :P如果你有時間。 – GGrec

回答

2

我終於解決了這個問題:

我加入到配置文件中的JVM的位置。

-startup 
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar 
--launcher.library 
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813 
-showsplash 
org.eclipse.platform 
--launcher.XXMaxPermSize 
256m 
--launcher.defaultAction 
openFile 
-vm 
C:\Program Files\Java\jdk1.7.0_07\bin\javaw.exe 
-vmargs 
-Xms40m 
-Xmx512m 

謝謝大家的幫助

+0

這其實很好知道。爲您的研究豎起大拇指。 :) – GGrec