且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

动态加载Java小程序内的本地库

更新时间:2023-11-19 20:07:52

使用Java Web Start的。您可以包括本地库作为一个签发的jar,一切都应该工作。

Use Java Web Start. You can include the native library as a signed jar and everything should work.

1)把本地图书馆的一个罐子在根目录
2)签署所有的罐子
3)写一个JNLP引用的所有jar文件(去做关于如何编写一个搜索JNLP的)

1) put the native librarys in a jar in the ROOT directory 2) sign ALL the jars 3) write a JNLP referencing all the jars (go do a search on how to write jnlp's)

之后,它应该工作