Is it possible to use the Android JNI in normal Java application?

There is a library compiled versions for android as jni for all platforms, in fact so files. Trying to connect this library from normal java apps, like connect, but gives the error " cannot open shared object file: No such file or directory", because in this library there is a relationship. Then installed android-liblog, android-liblog-dev but it didn't help, the error is the same.
ldconfig -p | grep liblog nothing gives.
The source code libraries are closed, because the library closed Protocol. I would like to use it without android. At the library, these dependencies:

How can I fix dependencies? And is it possible to run this library in a regular Java application?

UPD: Solved the problem by adding the variable LD_LIBRARY_PATH in the launch configuration. But there is a new problem. /usr/lib/x86_64-linux-gnu/ invalid ELF header Which package you need to install? Ubuntu 64
July 4th 19 at 23:40
1 answer
July 4th 19 at 23:42
uh and what prevents it to use in plain Java ? JNI - java native interface , it even in Java though anrode
Yes, I think so too, but the problem I described above. There is a dependency on liblog and can't get it linked, and without it is not going to. - Mackenzie commented on July 4th 19 at 23:45

Find more questions by tags AndroidJavaJava Native Interface