One of my plugins uses a library (jar file).
What am I missing?
Welcome to the wonderful world of OSGi! :D
You have two options:
You can go the OSGi way and repack your JAR in an OSGi bundle. This is clean and recommended in the sense of OSGi, since all code should be packaged in OSGi bundles (which in you case are called Eclipse plugins). However, this means additional work and I personally do not like it.
Put the JAR file to the root (or a folder called lib) of your bundle and add a Bundle-ClassPath entry to your manifest:
Bundle-ClassPath: .,lib/library.jar
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With