2011-03-19 48 views
2

我試圖在我的PC(Vista 32位)上創建全新的Eclipse Helios安裝。因此,我也在創建一個新的工作區。不幸的是,Eclipse拒絕從以下錯誤消息開始:Vista上的Eclipse Helios拒絕啓動

!ENTRY org.eclipse.equinox.ds 4 0 2011-03-19 22:08:37.669 
!MESSAGE File doesn't exist or is a directory! 
!STACK 0 
java.io.FileNotFoundException: D:\Program Files\eclipse\configuration\org.eclipse.osgi\bundles\120\data\SCR (The system cannot find the specified path) 
    at java.io.FileOutputStream.open(Native Method) 
    at java.io.FileOutputStream.<init>(Unknown Source) 
    at java.io.FileOutputStream.<init>(Unknown Source) 
    at org.eclipse.equinox.internal.ds.storage.file.FileStorage.saveFile(FileStorage.java:191) 
    at org.eclipse.equinox.internal.ds.storage.file.FileStorage.stop(FileStorage.java:179) 
    at org.eclipse.equinox.internal.ds.SCRManager.stopIt(SCRManager.java:216) 
    at org.eclipse.equinox.internal.ds.Activator.stop(Activator.java:204) 
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764) 
    at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:509) 
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566) 
    at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1160) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:595) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215) 
    at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284) 
    at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690) 
    at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:597) 
    at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:390) 
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:198) 
    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:622) 
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) 
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410) 
    at org.eclipse.equinox.launcher.Main.main(Main.java:1386) 

!ENTRY org.eclipse.equinox.ds 4 0 2011-03-19 22:08:37.689 
!MESSAGE File doesn't exist or is a directory! 
!STACK 0 
java.io.FileNotFoundException: D:\Program Files\eclipse\configuration\org.eclipse.osgi\bundles\120\data\SCR (The system cannot find the specified path) 
    at java.io.FileOutputStream.open(Native Method) 
    at java.io.FileOutputStream.<init>(Unknown Source) 
    at java.io.FileOutputStream.<init>(Unknown Source) 
    at org.eclipse.equinox.internal.ds.storage.file.FileStorage.saveFile(FileStorage.java:191) 
    at org.eclipse.equinox.internal.ds.storage.file.FileStorage.stop(FileStorage.java:179) 
    at org.eclipse.equinox.internal.ds.SCRManager.stopIt(SCRManager.java:216) 
    at org.eclipse.equinox.internal.ds.Activator.stop(Activator.java:204) 
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771) 
    at java.security.AccessController.doPrivileged(Native Method) 
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764) 
    at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:509) 
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566) 
    at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1160) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:595) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257) 
    at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215) 
    at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284) 
    at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:690) 
    at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:597) 
    at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:390) 
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:198) 
    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:622) 
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) 
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410) 
    at org.eclipse.equinox.launcher.Main.main(Main.java:1386) 

有沒有人有關於如何解決此問題的想法?

預先感謝您!

回答

0

嘗試吹走你的配置目錄(D:\ Program Files \ eclipse \ configuration)然後重新開始。

+0

我也做了這個,但它仍然沒有開始。 – eric 2011-03-19 22:08:17

+0

:/這是一個很好的方法來完全防止Eclipse啓動... – 2012-02-28 23:14:00

0

儘量不要將eclipse提取到其路徑中包含空格的文件夾中,尤其是在Windows上時。

我已經在Windows Vista的D:\eclipse下直接提取了eclipse,它的功能就像一個魅力。

+0

不幸的是,它仍然給我同樣的錯誤,但當然與新的路徑。我將它安裝在D:\ eclipse下。它可能是Java版本問題嗎?另外,你把你的工作區文件夾放在哪裏? – eric 2011-03-19 22:07:11

0

閱讀您的Eclipse Community Forum線,以及各種安裝參數的「Setting up Eclipse」,還有Eclipse.ini page後,我會建議:

  • 解壓在一個簡單的路徑Eclipse的發行不受空間和管理員ACL問題
  • 更改eclipse.ini,see this eclipse.ini作爲示例,直接引用jvm.dll文件和新的工作區。
+0

謝謝您的回覆!請在論壇中查看我最後的帖子。我真的被卡住了...... – eric 2011-03-20 01:58:09

+0

@eric:是的,但是那是在「移植安裝」之後:如何安裝一個空的工作空間和一個自定義的eclipse.ini? – VonC 2011-03-20 08:33:31