Vista上的Eclipse Helios拒绝启动
问题描述:
我试图在我的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)
有没有人有关于如何解决此问题的想法?
预先感谢您!
答
尝试吹走你的配置目录(D:\ Program Files \ eclipse \ configuration)然后重新开始。
答
尽量不要将eclipse提取到其路径中包含空格的文件夹中,尤其是在Windows上时。
我已经在Windows Vista的D:\eclipse
下直接提取了eclipse,它的功能就像一个魅力。
+0
不幸的是,它仍然给我同样的错误,但当然与新的路径。我将它安装在D:\ eclipse下。它可能是Java版本问题吗?另外,你把你的工作区文件夹放在哪里? – eric 2011-03-19 22:07:11
答
阅读您的Eclipse Community Forum线,以及各种安装参数的“Setting up Eclipse”,还有Eclipse.ini page后,我会建议:
- 解压在一个简单的路径Eclipse的发行不受空间和管理员ACL问题
- 更改
eclipse.ini
,see thiseclipse.ini
作为示例,直接引用jvm.dll
文件和新的工作区。
我也做了这个,但它仍然没有开始。 – eric 2011-03-19 22:08:17
:/这是一个很好的方法来完全防止Eclipse启动... – 2012-02-28 23:14:00