JNA native support (/com/sun/jna/linux-arm/libjnidispatch.so) not found in resource path

前端 未结 5 1346
北海茫月
北海茫月 2021-01-02 19:16

I have started to build a java service which incorporates JNA to load a native C/C++ lib and i want to run the java service on the Raspberry PI aka arm platform. I have succ

5条回答
  •  [愿得一人]
    2021-01-02 19:45

    I do the following:

    1. sudo apt-get install libjna-java
    2. get the installed jar /usr/share/java/jna.jar
    3. Install jna.jar as a maven dependency

    They worked to me...

提交回复
热议问题