Effacer les filtres
Effacer les filtres

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

3 vues (au cours des 30 derniers jours)
Nitin
Nitin le 19 Nov 2012
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.

Réponses (0)

Catégories

En savoir plus sur Call Java from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by