开发者

How can I bundle a library that includes nativelibraries in my JAR?

开发者 https://www.devze.com 2023-01-23 13:16 出处:网络
I made a project in Netbeans 6.8 and added a third-party library which included some nativelibraries. When I made a开发者_JAVA技巧 JAR of my project, only the third-party JAR was included; its nativel

I made a project in Netbeans 6.8 and added a third-party library which included some nativelibraries. When I made a开发者_JAVA技巧 JAR of my project, only the third-party JAR was included; its nativelibrary was not. Therefore, I am unable to run my project.

How can I resolve this issue?


The native library is loaded just like a resource. Try placing it in a resources folder.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号