|Need help with .jar and .dll [message #897878]
||Wed, 25 July 2012 07:08
| Sebastian Cmentowski
Registered: July 2012
I am trying to use a .jar libary that needs a .dll file (that uses a dll file
itself) for some Java-Projects,
but for some reason I get an exception every time.
If I add the libary to the build path (referenced libaries),
I get an UnsatisfiedLinkError: no wiiuse.dll in java.library.path exception,
then I have tried the following options, but nothing worked:
1) Add the directory of the two dll files to the native libary tab of the .jar file.
->this leads to an "Cant find dependent libaries" exception (eclipse does not find the second .dll file).
to add the directory of the dll files to the Systems PATH variable, no effect,
OR trying System.loadLibrary(); for both .dll files , no effect either.
Can you help me?
Powered by FUDForum
. Page generated in 0.02654 seconds