[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[equinox-dev] External jars referenced in a bundle
- From: "Lois Desplat" <lois.desplat@xxxxxxxxx>
- Date: Thu, 20 Sep 2007 00:56:01 -0700
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=OzSElGSRBDsIbHKboBWV7Pw/v7vHSyoeBCiv43UGeb2jZh7A2VrNzroLRcTnE9OyAs1gjvbADdcg2p/iFd7ZHS6HvsQu0H5aw9i8dmjlvFdQDZoOrtosXAhWois/zs+g2xU3irjGoCAYSeHchT3lbdRf3CRcfYtzesyEF8jpabA=
I am having a problem that I have been cracking my head on for hours
and I cannot figure it out. I am sure that it is simple enough though.
I have the JFreeChart library (for example..I have many other
dependencies) and I want to use it inside one of my bundles. So I
understand I have to add it to the Import-Package but the problem is
that org.jfree is not recognized. jfreechart is in the global
classpath though. I heard you can reference the jar files with
Bundle-ClassPath so I added the jar files to that but to no avail.
If I do not Import-Package I get a java.lang.NoClassDefFoundError for
one of the jfreechart classes.
I have tried many other things, but I just cannot get it to work. So
the question is, how do i get an external jar file to be recognized?
Thank you very much,