How can I use Linux shared libraries in Java?

前端 未结 3 744
梦如初夏
梦如初夏 2021-01-03 00:45

Is there any way to call the functions which are in a so library from my Java code? Generally, is it possible to use Linux so libraries in Java pr

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-03 01:37

    Another wayto access libraries form java besides JNI is JNA.

    I find that in many cases it's easier to use then JNI, but that's just my personal opinion.

提交回复
热议问题