Load DLL (using JNA) inside an OSGi bundle

后端 未结 3 864
陌清茗
陌清茗 2020-12-10 07:37

OSGi cannot find my DLL file, and I can\'t seem to figure out why.

Currently I have the DLL file (foo.dll) at the root of my bundle, I\'ve also tried ha

3条回答
  •  暖寄归人
    2020-12-10 08:14

    I suggest you try to package the dll as a jar:

    jar cvf foo.dll.jar foo.dll
    

    and the load the jar as a regular lib.

提交回复
热议问题