Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » cannot make a simple rcp as a product
cannot make a simple rcp as a product [message #654611] Wed, 16 February 2011 08:40 Go to next message
Ravi Kiran is currently offline Ravi Kiran
Messages: 41
Registered: December 2010
Member
hi

i am trying to create a product from simple rcp application.
so i created a simple rcp with a view (inbulit example) rcp application. it works fine if i launch as a eclipse applcation

now i created a rcp.product configuration and tried to launch but it failed with the following error

what might be the problem?

------------------------------------------------------------ ------------
!SESSION Wed Feb 16 19:04:14 IST 2011 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2011-02-16 19:04:14.699
!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: 616)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
------------------------------------------------------------ -----------


Re: cannot make a simple rcp as a product [message #654729 is a reply to message #654611] Wed, 16 February 2011 15:34 Go to previous messageGo to next message
Carlo Salinari is currently offline Carlo Salinari
Messages: 66
Registered: October 2010
Member
On 2/16/2011 2:40 PM, Ravi Kiran wrote:
> hi
>
> i am trying to create a product from simple rcp application.
> so i created a simple rcp with a view (inbulit example) rcp application. it works fine if i launch as a eclipse applcation
>
> now i created a rcp.product configuration and tried to launch but it failed with the following error
>
> what might be the problem?
>
> ------------------------------------------------------------ ------------
> !SESSION Wed Feb 16 19:04:14 IST 2011 ------------------------------------------
> !ENTRY org.eclipse.equinox.launcher 4 0 2011-02-16 19:04:14.699
> !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: 616)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
> ------------------------------------------------------------ -----------
>
>
>

right click your .product file
Run As/Run Configurations/Plug-ins/Add Required Pulg-ins
Apply
Run
Re: cannot make a simple rcp as a product [message #654778 is a reply to message #654729] Thu, 17 February 2011 01:26 Go to previous message
Ravi Kiran is currently offline Ravi Kiran
Messages: 41
Registered: December 2010
Member
Hi Carlo

thanks for your reply.

i didn't add the required plugins in the product file that is the reason for that and also i incorrectly slect the product application

It's working fine now

Cheers
Ravi Very Happy
Previous Topic:weird junit testing
Next Topic:Master/Detail with Interface
Goto Forum:
  


Current Time: Wed Jul 23 14:15:39 EDT 2014

Powered by FUDForum. Page generated in 0.01779 seconds