I am getting a error message like this:
The library libraryname.dll could not be loaded by Windows. Make sure that the library is in you Pa
You can simply pass java.library.path as a system property as shown below:
java -Djava.library.path=
First you need to find out where the libraryname.dll is and add it above in "path_to_dll".