开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜