Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Problem starting exported product with external jar
Problem starting exported product with external jar [message #437630] Fri, 30 September 2005 11:53 Go to next message
Eclipse UserFriend
Originally posted by: nielsen.cim.pe.u-tokyo.ac.jp

I am quite new to RCP and have some problem when exporting a product. I can run it inside Eclipse and export it without compilation error. But when I try to start the export I get a nodeffun error. It's from the external jar file I use.

It is located in /lib under my Eclipse project folder, but how do I configure my plugin.xml to include it in the build? I have tried to set it in the external classpath in the build tab (that enabled an export without error).

If anybody could help me with this it would be great.

/Johan
Re: Problem starting exported product with external jar [message #437696 is a reply to message #437630] Sun, 02 October 2005 19:28 Go to previous messageGo to next message
Stefan Zugal is currently offline Stefan ZugalFriend
Messages: 59
Registered: July 2009
Member
As far as i know this is a known bug in the rcp.

You can it fix it by importing the external jars as plugin projects and
add the needed external jars in the Dependencies section in the plugin.xml.

Alternatively you can extract all the classes from the external jars and
put it into the jar file of your rcp application (the jar
/plugins/myPlugin/myPlugin.jar).

This helped for me.

Regards,
Stefan

Johan Nielsen schrieb:
> I am quite new to RCP and have some problem when exporting a product. I can run it inside Eclipse and export it without compilation error. But when I try to start the export I get a nodeffun error. It's from the external jar file I use.
>
> It is located in /lib under my Eclipse project folder, but how do I configure my plugin.xml to include it in the build? I have tried to set it in the external classpath in the build tab (that enabled an export without error).
>
> If anybody could help me with this it would be great.
>
> /Johan
Re: Problem starting exported product with external jar [message #437748 is a reply to message #437696] Tue, 04 October 2005 00:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nielsen.cim.pe.u-tokyo.ac.jp

Thank you Stefan,

I've tried to import external jars as plugin projects but I get a "missing required bundle" error when trying to start it from within the Eclipse. Nor can I start it from outside of Eclipse.
Re: Problem starting exported product with external jar [message #437760 is a reply to message #437630] Tue, 04 October 2005 12:15 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Johan Nielsen wrote:
> I am quite new to RCP and have some problem when exporting a product. I can run it inside Eclipse and export it without compilation error. But when I try to start the export I get a nodeffun error. It's from the external jar file I use.
>
> It is located in /lib under my Eclipse project folder, but how do I configure my plugin.xml to include it in the build? I have tried to set it in the external classpath in the build tab (that enabled an export without error).
>
> If anybody could help me with this it would be great.
>
> /Johan

There's a set of steps to get plugins to properly use 3rd party jars in
eclipse and after they've been exported. do a google search on:

site:dev.eclipse.org news.eclipse 3rd party jars

Later,
PW


Re: Problem starting exported product with external jar [message #437764 is a reply to message #437760] Tue, 04 October 2005 13:20 Go to previous message
Eclipse UserFriend
Originally posted by: nielsen.cim.pe.u-tokyo.ac.jp

Thank you Paul!

Johan
Previous Topic:ClassNotFound Exception when filling JasperReport from RCP app.
Next Topic:Reflection and plugin dependencies
Goto Forum:
  


Current Time: Wed Dec 04 16:43:07 GMT 2024

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

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

Back to the top