UnsatisfiedLinkError when calling a method in JAR file which loads a DLL file.
3 views (last 30 days)
Show older comments
I have a Jar file, which loads DLL using System.loadLibrary() method. When I execute this Jar file from Netbeans, it works fine and I can use the methods inside the DLL. But when I use this Jar file from inside my Matlab code, and I call any method of Jar file which uses loads the DLL, it throws error of UnsatisfiedLinkError. It is not able to load the DLL in Jar file, when it is called from Matlab. I have kept the DLL file in the same folder where I have Jar file. I am adding Jar file to the dynamic path using javaaddpath() Any help is highly appreciated.
0 Comments
Answers (0)
See Also
Categories
Find more on Call Java from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!