I have a library in eclipse that uses native libraries (two dll). The dlls are in the same folder as the jar. When I run the application there is an error:
java.lang.UnsatisfiedLinkError: no xx in java.library.path
When I link the library by double click on native library location, then running it works. However, I don't want to have to do this, I want it to work with out having to configure it via the IDE. I want the library to be plug and play.
Q1: Where is the convetional location to put .dll referenced by a .jar library.
Q2: How can I make sure when someone references my library in eclipse it works without further IDE configuration?