Maven. Put .DLL in the root of JAR

后端 未结 2 1105
梦毁少年i
梦毁少年i 2021-02-20 15:20

How I can include native .dll file in root of JAR using Maven?

相关标签:
2条回答
  • 2021-02-20 16:01

    You can see these links may it helps..

    1. how to make a jar file that include dll files
    2. How to add native library to “java.library.path” with Eclipse launch (instead of overriding it)
    3. native_loader
    0 讨论(0)
  • 2021-02-20 16:03

    If you already have your .dll file just store it in your project's src/main/resources directory and Maven will put it in the target jar's root directory.

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