Eclipse Helios - Fresh install won't start [message #660606] |
Sat, 19 March 2011 17:20  |
Eclipse User |
|
|
|
Hi all,
I'm trying to create a completely fresh installation of Eclipse Helios on my PC (Vista 32bit). I'm therefore also creating a fresh workspace. Unfortunately, Eclipse refuses to start with the following error message:
!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)
Does anybody have an idea on how to fix this issue?
Thank you in advance!
|
|
|
Re: Eclipse Helios - Fresh install won't start [message #660610 is a reply to message #660606] |
Sat, 19 March 2011 18:16   |
Eclipse User |
|
|
|
If I might wager a guess, I'd say that D:\Program Files on your Vista
host is administrator territory. Typically, one installed Eclipse at
C:\eclipse back in the day and, with Windows Vista and Windows 7, maybe
at C:\Users\username\eclipse. At least, that's where I put mine.
Or you could launch Eclipse as administrator?
Then again, I could be completely wrong because I've never installed
Eclipse alongside ordinary software on a path like \Program Files.
On 2011.03.19 15:21, Eric wrote:
> Hi all,
>
> I'm trying to create a completely fresh installation of Eclipse Helios
> on my PC (Vista 32bit). I'm therefore also creating a fresh workspace.
> Unfortunately, Eclipse refuses to start with the following error message:
>
> !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\dat a\SCR (The
> system cannot find the specified path)
> at java.io.FileOutputStream.open(Native Method)
> [snip]
>
> Does anybody have an idea on how to fix this issue?
>
> Thank you in advance!
|
|
|
|
|
|
|
|
|
|
|
Re: Eclipse Helios - Fresh install won't start [message #660741 is a reply to message #660675] |
Mon, 21 March 2011 08:40  |
Eclipse User |
|
|
|
On 2011.03.20 20:43, fred silsbee wrote:
> Thanks...I've done both and before I lost Fedora 14recently (long
> story), I had Eclipse running with CDT C++ AND the Qt plugin
>
> I guess (not a yum expert) I'd use
>
> yum remove eclipse*
>
> I am going to try one more thing.
>
> /usr/java/jdk1.6.0_20/bin/java does not exist so it must mean that I
> must use yum to
> install java ...prob use yumex
>
> yum install java* ???
Google is your friend (I'm a SuSE and Ubuntu guy, so while I know what
yum is, I've only had occasion to use it once or twice).
If you were developing Java, I'd suggest not consuming the host's JRE,
but downloading a separate one for your private use. I don't do C/C++
anymore and have never done it with Eclipse, so I can't say if it's
important to get your own copy of the JDK down for Eclipse's use.
But, yeah, at a minimum, specify the path to the JVM in eclipse.ini as
you allude.
|
|
|
Powered by
FUDForum. Page generated in 0.09577 seconds