How can I include platform-specific native libraries in the .JAR file using Eclipse?

后端 未结 2 518
無奈伤痛
無奈伤痛 2021-01-05 14:16

I am just starting to learn JNI. I have been following a simple example, and I have created a Java app that calls a Hello World method in a native library. I\'d like to targ

2条回答
  •  孤城傲影
    2021-01-05 14:36

    You might want to check out the One-JAR project. It lets you package your application and its dependencies (including native libraries) to a single jar file.

提交回复
热议问题