UnsatisfiedLinkError when calling a method in JAR file which loads a DLL file.

3 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Call Java from MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by