Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » EclipseStarter ClassNotFound; RCP won't start
EclipseStarter ClassNotFound; RCP won't start [message #452579] Fri, 07 July 2006 19:09 Go to next message
Eclipse UserFriend
Originally posted by: mntbiknfool.yahoo.com

Trying to launch an RCP application fails with error:
"!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:333 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)".

Eclipse Console has:
"Configuration location:
file:/C:/java/eclipse-workspace/.metadata/.plugins/org.eclip se.pde.core/bpass.product/
Configuration file:
file:/C:/java/eclipse-workspace/.metadata/.plugins/org.eclip se.pde.core/bpass.product/config.ini loaded
Install location:
file:/C:/java/eclipse-RCP-3.2-win32/eclipse/
Framework located:
file:/C:/java/eclipse-SDK-3.2-win32/eclipse/org.eclipse.osgi
Framework classpath:".

The Framework located: value is incorrect. It should be something like " file:/C:/java/eclipse-RCP-3.2-win32/eclipse/plugins/org.ecli pse.osgi_3.2.0.v20060510.jar " and the bad value is causing the Framework classpath to be empty.

I've tried re-installing Eclipse and RCP, clearing out the eclipse/configuration subdirectories, and nothing has worked.

Under Eclipse, Preferences, Plug-In Development, Target Platform I have "C:\java\eclipse-RCP-3.2-win32\eclipse" specified.

How is the "Framework located" value determined?

Any help will be greatly appreciated.

Thanks, Todd.
Re: EclipseStarter ClassNotFound; RCP won't start [message #452624 is a reply to message #452579] Mon, 10 July 2006 18:01 Go to previous messageGo to next message
Pete Ellis is currently offline Pete EllisFriend
Messages: 85
Registered: July 2009
Member
Todd,

I am receiving the exact same exception trace when attempting to launch a
plug-in test session of Eclipse from the base session. The base session
seems to come up just fine. I'm currently using Eclipse 3.2.0, build
M20060629-1905.

Any thoughts out there with respect to a cause of this error?

-Pete
Re: EclipseStarter ClassNotFound; RCP won't start [message #452625 is a reply to message #452624] Mon, 10 July 2006 18:35 Go to previous messageGo to next message
Pete Ellis is currently offline Pete EllisFriend
Messages: 85
Registered: July 2009
Member
Hello all,

I think I've dug out the cause of this issue. The discussion that
addresses it is located elsewhere:

http://www.eclipsezone.com/eclipse/forums/m91979922.html

In short, this problem is typical of attempting to use the same workspace
through different versions of Eclipse. This is, in fact, what I was
doing, attempting to use my 3.1.2 workspace directly with my newly
installed 3.2 Eclipse distro.

When I created a fresh workspace through 3.2, I was able to successfully
launch plug-in test sessions. I did not need to re-install Eclipse 3.2
for the problem to resolve itself.

The unfortunate consequence, however, is that I will need to repopulate
and reconfigure the new workspace with all of my original settings... :\

-Pete
Re: EclipseStarter ClassNotFound; RCP won't start [message #452652 is a reply to message #452625] Tue, 11 July 2006 15:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mntbiknfool.yahoo.com

Pete,

I tried your suggestion and still no luck. Upon further investigation and comparison to systems that work correctly, it looks as though the config.ini file is not being set properly. The RCP product I am launching uses the default config.ini. I guess I have more research to do to figure out how this file is generated and why it appears incomplete. Thanks for your help.

Jim
Re: EclipseStarter ClassNotFound; RCP won't start [message #452700 is a reply to message #452652] Thu, 13 July 2006 00:27 Go to previous message
Eclipse UserFriend
Originally posted by: mntbiknfool.yahoo.com

Problem solved! I don't know why, but the product run configuration did not have any of the plugins selected so naturally the config.ini could not be generated correctly! Once I discovered this, I simply selected the necessary plugins in the menu path Run->Run...Eclipse Application->xxx.product plugin tab. You ever feel stupid when you find out what the real problem is???
Previous Topic:RCP App won't start - default config.ini looks incomplete
Next Topic:activity pattern binding
Goto Forum:
  


Current Time: Mon Oct 07 05:29:15 GMT 2024

Powered by FUDForum. Page generated in 0.04249 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top