Reputation: 21
I imported a library by going to Properties > Java Build Path > Libraries > Add External Jars
and selected the file but the library wasn't accessible (when trying to import in java code). Am I doing something wrong?
Upvotes: 1
Views: 1015
Reputation: 4480
You need to refresh the eclipse project using File->Refresh
.
Then all your imports will work perfect.
Upvotes: 0
Reputation: 51
In MANIFEST.MF add
Bundle-ClassPath: lib/external.jar,
.
and in build.properties (lib is folder in project with external jars)
bin.includes = plugin.xml,\
META-INF/,\
.,\
lib/
Upvotes: 1