I am getting the unsatisfied link error when I try to run the web-app. I have created the function which loads the native library stored at “/home/libraryFiles”, using JNA. I have stored all of my libXXXX.so files at “/home/libraryFiles”. I have exporting my war file from eclipse in windows and deploying it on the jboss server on redhat linux. This
Tag: jna
How to get PID of java.lang.Process in linux by JAVA
I think out two method to resolve this question but they can’t reach the expectation . I use the ‘Process’ to exec “ps -ef” I can through this method to get all lines and I can filter them by my running command.But If I have many same command process.This isn’t work. I use the JNA to get PID This way