Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse RCP cannot find EclipseStarter

I have an RCP application to develop; the code was written a couple of years ago, and I have to finish it. I imported the plugins in Eclipse, I solve all the dependencies, but when I try to launch it I get this error:

!SESSION Tue Mar 29 10:13:24 CEST 2011 
-----------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2011-03-29 10:13:24.326
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: 

org.eclipse.core.runtime.adaptor.EclipseStarter
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:617)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

I try to reinstall the Eclipse zip (deleting all and reunzipping it), but it still not work. I try to start the application with the -clean option to rebuild the cache, but it still not work. But if I create some dummy hello-plugin with hello-feature and hello-product, all works fine. Anyone have some hints to solve this problem? Thanks.

like image 979
Alberto Avatar asked Apr 04 '11 07:04

Alberto


1 Answers

Ok the problem is solved, i just change the option The product configuration is based on from features to plug-ins and add all the dependencies with the button Add Required Plug-ins. I don't know if this is the correct way, it just work.

like image 65
Alberto Avatar answered Sep 23 '22 15:09

Alberto