https://stackoverflow.com/questions/16227045/how-to-add-so-file-to-the-java-library-path-in-linux
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/some/pathOfContainingDirectory
Проверить java.lib.path java -XshowSettings:properties
public class Main implements ApplicationRunner {
static {
System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
}