search

Home  >  Q&A  >  body text

java - 如何在maven中添加动态链接库引用?

在maven工程中,使用sigar第三方工具监控节点信息,是否有除了将链接库文件放置到系统共享库中的方法。android编译的时候会可以将百度地图的so文件放置到lib目录,java工程同样处理也可以吗?

大家讲道理大家讲道理2892 days ago345

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-04-18 09:25:51

    It should be placed directly in the resources directory, so that the so file will be directly under the classpath after maven packaging.

    reply
    0
  • Cancelreply