[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] External jars referenced in a bundle
- From: Peter Kriens <Peter.Kriens@xxxxxxxxx>
- Date: Thu, 20 Sep 2007 11:10:42 +0200
- Delivered-to: email@example.com
- Organization: aQute
Can you send the manifest you use?
LD> I am having a problem that I have been cracking my head on for hours
LD> and I cannot figure it out. I am sure that it is simple enough though.
LD> I have the JFreeChart library (for example..I have many other
LD> dependencies) and I want to use it inside one of my bundles. So I
LD> understand I have to add it to the Import-Package but the problem is
LD> that org.jfree is not recognized. jfreechart is in the global
LD> classpath though. I heard you can reference the jar files with
LD> Bundle-ClassPath so I added the jar files to that but to no avail.
LD> If I do not Import-Package I get a java.lang.NoClassDefFoundError for
LD> one of the jfreechart classes.
LD> I have tried many other things, but I just cannot get it to work. So
LD> the question is, how do i get an external jar file to be recognized?
LD> Thank you very much,
LD> equinox-dev mailing list
Peter Kriens Tel +33467542167
9C, Avenue St. Drézéry AOL,Yahoo: pkriens
34160 Beaulieu, France ICQ 255570717
Skype pkriens Fax +1 8153772599