Launching Eclipse fails [message #203657] |
Sun, 29 February 2004 03:20  |
Eclipse User |
|
|
|
Originally posted by: mmithu.hotmail.com
Hi,
I am a student and trying to use Eclipse for the first time.
But I cannot launch it no matter what I do. I would be really grateful if
someone helps me out on this.
I am working on Windows XP. After unzipping the package
(eclipse-SDK-3.0M6-win32.zip), when I click on the eclipse.exe file, after
a few seconds it fails. The message in the
\eclipse\workspace\.metadata\log file is
!ENTRY org.eclipse.core.launcher 4 0 Feb 28, 2004 13:51:59.235
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassCastException:
org.eclipse.osgi.framework.internal.core.BundleFragment
at
org.eclipse.osgi.framework.internal.core.PackageAdmin.getExp ortedBundles(PackageAdmin.java:127)
at
org.eclipse.osgi.framework.internal.core.PackageAdmin.initia lize(PackageAdmin.java:86)
at
org.eclipse.osgi.framework.internal.core.Framework.initializ e(Framework.java:241)
at
org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:126)
at
org.eclipse.osgi.framework.internal.core.OSGi.createFramewor k(OSGi.java:98)
at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:33)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:69)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
at org.eclipse.core.launcher.Main.run(Main.java:742)
at org.eclipse.core.launcher.Main.main(Main.java:581)
Thanks
Mithu
|
|
|
Re: Launching Eclipse fails [message #203712 is a reply to message #203657] |
Sun, 29 February 2004 11:22  |
Eclipse User |
|
|
|
Originally posted by: sw15london.tiscali.co.uk
Hi,
Have you installed the Sun Java2 SDK. You will need this installed to run
eclipse.
Then you will need to run eclipse from the command line using this command.
c:\eclipse\eclipse -vm c:\j2sdk1.4.2_03\bin\javaw
Please note:
c:\eclipse\eclipse is the directory you have eclipse installed to (if it was
c:\something then the command would be c:\something\eclipse etc
the second directory structure is the location of the java2 sdk. (download
from suns website).
Also note that you if u create a desktop icon to eclipse and edit the
shortcut properties so that the run command rather than being eclipse.exe is
the command above but written like this
c:\eclipse\eclipse.exe -vm c:\j2sdk1.4.2_03\bin\javaw.exe
Hope this helps
(of course the problem could be something else!)
Chris
"Mithu" <mmithu@hotmail.com> wrote in message
news:c1s7cu$unj$1@eclipse.org...
> Hi,
>
> I am a student and trying to use Eclipse for the first time.
> But I cannot launch it no matter what I do. I would be really grateful if
> someone helps me out on this.
>
> I am working on Windows XP. After unzipping the package
> (eclipse-SDK-3.0M6-win32.zip), when I click on the eclipse.exe file, after
> a few seconds it fails. The message in the
> \eclipse\workspace\.metadata\log file is
>
>
> !ENTRY org.eclipse.core.launcher 4 0 Feb 28, 2004 13:51:59.235
> !MESSAGE Exception launching the Eclipse Platform:
> !STACK
> java.lang.ClassCastException:
> org.eclipse.osgi.framework.internal.core.BundleFragment
> at
>
org.eclipse.osgi.framework.internal.core.PackageAdmin.getExp ortedBundles(Pac
kageAdmin.java:127)
> at
>
org.eclipse.osgi.framework.internal.core.PackageAdmin.initia lize(PackageAdmi
n.java:86)
> at
>
org.eclipse.osgi.framework.internal.core.Framework.initializ e(Framework.java
:241)
> at
>
org.eclipse.osgi.framework.internal.core.Framework.<init>(Framework.java:126
)
> at
>
org.eclipse.osgi.framework.internal.core.OSGi.createFramewor k(OSGi.java:98)
> at org.eclipse.osgi.framework.internal.core.OSGi.<init>(OSGi.java:33)
> at
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:69)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39
)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl
..java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:279)
> at org.eclipse.core.launcher.Main.run(Main.java:742)
> at org.eclipse.core.launcher.Main.main(Main.java:581)
>
>
> Thanks
> Mithu
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.25495 seconds