Borrar filtros
Borrar filtros

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

3 visualizaciones (últimos 30 días)
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.

Respuestas (0)

Categorías

Más información sobre Call Java from MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by