EclipseStarter ClassNotFound; RCP won't start [message #452579] |
Fri, 07 July 2006 19:09 |
Eclipse User |
|
|
|
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 #452652 is a reply to message #452625] |
Tue, 11 July 2006 15:52 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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???
|
|
|
Powered by
FUDForum. Page generated in 0.04249 seconds