JNA UnsatisfiedLinkError, but jna.library.path is set

后端 未结 6 1559
囚心锁ツ
囚心锁ツ 2020-12-16 19:50

I\'m using the following code to load a dll in JNA (irrelevant code is left out):

    public class JNAMain {
       public interface PointShapeBuffer extends         


        
6条回答
  •  暖寄归人
    2020-12-16 20:18

    Like it was already mentioned in some comments: checks your Dependencies of your DLL/Library. Best Tool for this is Dependency Walker (http://www.dependencywalker.com/). Only if all your Dependencies are fulfilled, jna finds your DLL.... took me quite long to figure this out

提交回复
热议问题