JNA: Native Library dependencies and JAR extraction

前端 未结 1 691
耶瑟儿~
耶瑟儿~ 2021-01-14 15:20

I will access the MSP430.dll (see here) via JNA. But this library has a dependency to other native library, which cames bundled with the MSP430.dll. This dependend native li

相关标签:
1条回答
  • 2021-01-14 16:18

    Assuming that the only issue you're having is the name of the dependent library, see Native.extractFromResourcePath(). You can use that to extract your non-explicit dependencies and use File.rename() to ensure the library has the name you want.

    0 讨论(0)
提交回复
热议问题