java.lang.UnsatisfiedLinkError: no A in java.library.path
出现如下错误
A:libA.so
java.lang.UnsatisfiedLinkError: no A in java.library.path: [/usr/java/packages/lib, /usr/lib/arm-linux-gnueabihf/jni, /lib/arm-linux-gnueabihf, /usr/lib/arm-linux-gnueabihf, /usr/lib/jni, /lib, /usr/lib]] with root cause
解决办法
java.library.path:指定动态库路径
java -jar -Djava.library.path=/home/pi/jni demo-0.0.1-SNAPSHOT.jar