Java JNI and dependent libraries on Windows

前端 未结 4 1940
挽巷
挽巷 2020-12-09 20:47

Long story short: I have an executable jar, that calls jni.dll which is dependent on lib.dll. And I\'m getting the oh-so-dreaded UnsatisfiedL

4条回答
  •  甜味超标
    2020-12-09 20:52

    If the problem is that the os can not find the dependency library, have you tried loading it via System.loadLibrary() before you load your main library?

提交回复
热议问题