我正在尝试在我的PC(Vista 32bit)上创建一个全新的Eclipse Helios安装。因此,我也在创造一个新的工作空间。不幸的是,Eclipse拒绝从以下错误消息开始:
!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 :(得分:0)
尝试清除配置目录(D:\ Program Files \ eclipse \ configuration),然后重新开始。
答案 1 :(得分:0)
尽量不要将eclipse提取到路径中包含空格的文件夹中,尤其是在Windows上时。
我已经在我的D:\eclipse
Windows Vista下直接提取了eclipse,它就像一个魅力。
答案 2 :(得分:0)
阅读Eclipse Community Forum上的帖子以及“Setting up Eclipse”上的各种安装参数以及Eclipse.ini page后,我建议:
eclipse.ini
,see this eclipse.ini
作为示例,直接引用jvm.dll
文件和新工作区。