Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » newbie making pde:NoClassDef when using 3rd party jar
newbie making pde:NoClassDef when using 3rd party jar [message #143948] Fri, 20 February 2004 10:41 Go to next message
Eclipse UserFriend
Originally posted by: aks.terma.com

Hi

Sorry - this must have happened before:
When I run my plugin (which compiles against a 3rd party jar in my plugin
workspace) in the runtime workbench, the 3rd party jar is not found and I
get the NoClassDef exception.
The jar file is listed in the plugin.xml as I added it to the runtime
library list in the Plugin wizard, but this has no effect.
Does anyone have a checklist?

Thanks!

/aksel
Re: newbie making pde:NoClassDef when using 3rd party jar [message #143992 is a reply to message #143948] Fri, 20 February 2004 14:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

Is the jar imported into your workspace plugin project? It needs to
physically reside in the plugin directory or subdirectory. It can not
reside somewhere outside of this and be pointed to.


--
Thanks, Rich Kulp

Re: newbie making pde:NoClassDef when using 3rd party jar [message #144083 is a reply to message #143992] Fri, 20 February 2004 17:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aks.terma.com

> Is the jar imported into your workspace plugin project? It needs to
> physically reside in the plugin directory or subdirectory. It can not
> reside somewhere outside of this and be pointed to.

yes- in the workspace directory, same level as plugin.xml, but I haven't
deployed the plugin, only running it from the host ide (in the runtime ide)

One thing that 'concerns' me is that the 3rd party jar is inserted manually
in the runtime libraries list - not selected from list/directory (I did
spell correctly) - is this the right procedure?
Re: newbie making pde:NoClassDef when using 3rd party jar [message #144091 is a reply to message #144083] Fri, 20 February 2004 18:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

There is no drop down list for adding a library. It is always done by
hand. You did put it between <runtime> and </runtime> right?

--
Thanks, Rich Kulp

Re: newbie making pde:NoClassDef when using 3rd party jar [message #144100 is a reply to message #144091] Fri, 20 February 2004 19:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aks.terma.com

yes - (the plugin editor wizard did it, but the source shows what you
describe)

"Rich Kulp" <richkulp@NO.SPAM.us.ibm.com> wrote in message
news:c15kil$jbh$1@eclipse.org...
> There is no drop down list for adding a library. It is always done by
> hand. You did put it between <runtime> and </runtime> right?
>
> --
> Thanks, Rich Kulp
> 
>
Re: newbie making pde:NoClassDef when using 3rd party jar [message #144804 is a reply to message #144100] Mon, 23 February 2004 23:34 Go to previous message
Eclipse UserFriend
Originally posted by: aks.terma.com

Manifest didn't update by itself - by omparing existing plugins with a
manifest file, a segment was missing in mine (order important) that said:
Bundle-ClassPath:

xxx.jar

Somehow I have to use a manifest file and this isn't autogenerated (only
first time, now I have to keep it up to date manually)

Now I can run the runtime workbench :)

/aksel

"Aksel Schmidt" <aks@terma.com> wrote in message
news:c15lgu$kf2$1@eclipse.org...
> yes - (the plugin editor wizard did it, but the source shows what you
> describe)
>
> "Rich Kulp" <richkulp@NO.SPAM.us.ibm.com> wrote in message
> news:c15kil$jbh$1@eclipse.org...
> > There is no drop down list for adding a library. It is always done by
> > hand. You did put it between <runtime> and </runtime> right?
> >
> > --
> > Thanks, Rich Kulp
> > 
> >
>
>
Previous Topic:javadoc in jar
Next Topic:Running Eclipse -> no Java
Goto Forum:
  


Current Time: Tue Jul 16 12:23:54 GMT 2024

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

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

Back to the top