UnsatisfiedLinkError: no jniopenblas_nolapack Linux Ubuntu

I’ve looked for solutions to similar problems before, but nothing has worked.

I have a simple application that loads network weights, takes a vector and gives a prediction.

public static void main(String[] args) throws Exception {
        log.info("Application started");

        MultiLayerNetwork net2 = MultiLayerNetwork.load(new File("model.zip"), true);
        INDArray testInput = Nd4j.create(new double[] {1, 0, 0, 0, 1, 0, 1}, new int[] {1, 7});
        INDArray prediction = net2.output(testInput);
        log.info(prediction.getRow(0).toString());
    }

Here is part of my pom.xml:

<properties>
        <dl4j-master.version>1.0.0-M2.1</dl4j-master.version>
        <nd4j.backend>nd4j-native-platform</nd4j.backend>
        <java.version>1.11</java.version>
        <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
        <maven.minimum.version>3.3.1</maven.minimum.version>
        <exec-maven-plugin.version>1.4.0</exec-maven-plugin.version>
        <maven-shade-plugin.version>2.4.3</maven-shade-plugin.version>
        <jcommon.version>1.0.23</jcommon.version>
        <jfreechart.version>1.0.13</jfreechart.version>
        <logback.version>1.1.7</logback.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <javacv.version>1.5.5</javacv.version>

    </properties>

    <dependencies>
        <dependency>
            <groupId>org.nd4j</groupId>
            <artifactId>${nd4j.backend}</artifactId>
            <version>${dl4j-master.version}</version>
        </dependency>

        <dependency>
            <groupId>org.datavec</groupId>
            <artifactId>datavec-api</artifactId>
            <version>${dl4j-master.version}</version>
        </dependency>

        <dependency>
            <groupId>org.datavec</groupId>
            <artifactId>datavec-data-image</artifactId>
            <version>${dl4j-master.version}</version>
        </dependency>

        <dependency>
            <groupId>org.datavec</groupId>
            <artifactId>datavec-local</artifactId>
            <version>${dl4j-master.version}</version>
        </dependency>

        <dependency>
            <groupId>org.deeplearning4j</groupId>
            <artifactId>deeplearning4j-datasets</artifactId>
            <version>${dl4j-master.version}</version>
        </dependency>

        <dependency>
            <groupId>org.deeplearning4j</groupId>
            <artifactId>deeplearning4j-core</artifactId>
            <version>${dl4j-master.version}</version>
        </dependency>

        <dependency>
            <groupId>org.deeplearning4j</groupId>
            <artifactId>deeplearning4j-ui</artifactId>
            <version>${dl4j-master.version}</version>
        </dependency>

        <dependency>
            <groupId>jfree</groupId>
            <artifactId>jfreechart</artifactId>
            <version>${jfreechart.version}</version>
        </dependency>

        <dependency>
            <groupId>org.jfree</groupId>
            <artifactId>jcommon</artifactId>
            <version>${jcommon.version}</version>
        </dependency>

        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
            <version>${logback.version}</version>
        </dependency>

        <dependency>
            <groupId>org.bytedeco</groupId>
            <artifactId>openblas-platform</artifactId>
            <version>0.3.19-1.5.7</version>
        </dependency>

    </dependencies>

This application works on Windows, but when I build jar files and run it on Linux, it gives an error:

11:06:06.997 [main] INFO org.example.Main - Application started
11:06:07.235 [main] INFO org.nd4j.linalg.factory.Nd4jBackend - Loaded [CpuBackend] backend
Exception in thread "main" java.lang.ExceptionInInitializerError
        at org.nd4j.linalg.cpu.nativecpu.ops.NativeOpExecutioner.<init>(NativeOpExecutioner.java:79)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces                          sorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc                          torAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at java.base/java.lang.Class.newInstance(Class.java:584)
        at org.nd4j.linalg.factory.Nd4j.initWithBackend(Nd4j.java:5152)
        at org.nd4j.linalg.factory.Nd4j.initContext(Nd4j.java:5064)
        at org.nd4j.linalg.factory.Nd4j.<clinit>(Nd4j.java:284)
        at org.deeplearning4j.util.ModelSerializer.restoreMultiLayerNetworkHelper(ModelSerializer.java:282                          )
        at org.deeplearning4j.util.ModelSerializer.restoreMultiLayerNetwork(ModelSerializer.java:237)
        at org.deeplearning4j.util.ModelSerializer.restoreMultiLayerNetwork(ModelSerializer.java:221)
        at org.deeplearning4j.nn.multilayer.MultiLayerNetwork.load(MultiLayerNetwork.java:3891)
        at org.example.Main.main(Main.java:40)
Caused by: java.lang.RuntimeException: ND4J is probably missing dependencies. For more information, please                           refer to: https://deeplearning4j.konduit.ai/nd4j/backend
        at org.nd4j.nativeblas.NativeOpsHolder.<init>(NativeOpsHolder.java:107)
        at org.nd4j.nativeblas.NativeOpsHolder.<clinit>(NativeOpsHolder.java:41)
        ... 14 more
Caused by: java.lang.UnsatisfiedLinkError: no jniopenblas_nolapack in java.library.path: [/usr/java/packag                          es/lib, /usr/lib/x86_64-linux-gnu/jni, /lib/x86_64-linux-gnu, /usr/lib/x86_64-linux-gnu, /usr/lib/jni, /li                          b, /usr/lib]
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2673)
        at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
        at java.base/java.lang.System.loadLibrary(System.java:1873)
        at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1800)
        at org.bytedeco.javacpp.Loader.load(Loader.java:1402)
        at org.bytedeco.javacpp.Loader.load(Loader.java:1214)
        at org.bytedeco.javacpp.Loader.load(Loader.java:1190)
        at org.bytedeco.openblas.global.openblas_nolapack.<clinit>(openblas_nolapack.java:12)
        at java.base/java.lang.Class.forName0(Native Method)
        at java.base/java.lang.Class.forName(Class.java:398)
        at org.bytedeco.javacpp.Loader.load(Loader.java:1269)
        at org.bytedeco.javacpp.Loader.load(Loader.java:1214)
        at org.bytedeco.javacpp.Loader.load(Loader.java:1190)
        at org.nd4j.linalg.cpu.nativecpu.bindings.Nd4jCpu.<clinit>(Nd4jCpu.java:14)
        at java.base/java.lang.Class.forName0(Native Method)
        at java.base/java.lang.Class.forName(Class.java:398)
        at org.nd4j.common.config.ND4JClassLoading.loadClassByName(ND4JClassLoading.java:62)
        at org.nd4j.common.config.ND4JClassLoading.loadClassByName(ND4JClassLoading.java:56)
        at org.nd4j.nativeblas.NativeOpsHolder.<init>(NativeOpsHolder.java:97)
        ... 15 more
Caused by: java.lang.UnsatisfiedLinkError: Could not find jniopenblas_nolapack in class, module, and libra                          ry paths.
        at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1767)
        ... 30 more

I have jar files with openblas
image

unzip nn_app_jar.zip
Archive:  nn_app_jar.zip
  inflating: nn_app_jar/aeron-all-1.39.0.jar
  inflating: nn_app_jar/arrow-format-6.0.1.jar
  inflating: nn_app_jar/arrow-memory-core-6.0.1.jar
  inflating: nn_app_jar/arrow-vector-6.0.1.jar
  inflating: nn_app_jar/artoolkitplus-2.3.1-1.5.7.jar
  inflating: nn_app_jar/babel__polyfill-7.4.4.jar
  inflating: nn_app_jar/bootstrap-2.2.2-1.jar
  inflating: nn_app_jar/bootstrap-4.3.1.jar
  inflating: nn_app_jar/bootstrap-glyphicons-bdd2cbfba0.jar
  inflating: nn_app_jar/bootstrap-notify-3.1.3-1.jar
  inflating: nn_app_jar/byteunits-0.9.1.jar
  inflating: nn_app_jar/chosen-0.9.8.jar
  inflating: nn_app_jar/common-image-3.1.1.jar
  inflating: nn_app_jar/common-io-3.1.1.jar
  inflating: nn_app_jar/common-lang-3.1.1.jar
  inflating: nn_app_jar/commons-codec-1.10.jar
  inflating: nn_app_jar/commons-collections4-4.1.jar
  inflating: nn_app_jar/commons-compress-1.21.jar
  inflating: nn_app_jar/commons-io-2.7.jar
  inflating: nn_app_jar/commons-lang-2.6.jar
  inflating: nn_app_jar/commons-lang3-3.11.jar
  inflating: nn_app_jar/commons-math3-3.5.jar
  inflating: nn_app_jar/commons-net-3.1.jar
  inflating: nn_app_jar/core-js-3.0.0-beta.9.jar
  inflating: nn_app_jar/coreui__coreui-2.1.9.jar
  inflating: nn_app_jar/coreui__icons-0.3.0.jar
  inflating: nn_app_jar/cpython-3.10.2-1.5.7.jar
  inflating: nn_app_jar/cpython-3.10.2-1.5.7-linux-arm64.jar
  inflating: nn_app_jar/cpython-3.10.2-1.5.7-linux-armhf.jar
  inflating: nn_app_jar/cpython-3.10.2-1.5.7-linux-ppc64le.jar
  inflating: nn_app_jar/cpython-3.10.2-1.5.7-linux-x86.jar
  inflating: nn_app_jar/cpython-3.10.2-1.5.7-linux-x86_64.jar
  inflating: nn_app_jar/cpython-3.10.2-1.5.7-macosx-x86_64.jar
  inflating: nn_app_jar/cpython-3.10.2-1.5.7-windows-x86.jar
  inflating: nn_app_jar/cpython-3.10.2-1.5.7-windows-x86_64.jar
  inflating: nn_app_jar/cpython-platform-3.10.2-1.5.7.jar
  inflating: nn_app_jar/cytoscape-3.2.5.jar
  inflating: nn_app_jar/cytoscape-3.3.3.jar
  inflating: nn_app_jar/cytoscape-cola-2.3.0.jar
  inflating: nn_app_jar/cytoscape-cose-bilkent-4.0.0.jar
  inflating: nn_app_jar/cytoscape-dagre-2.1.0.jar
  inflating: nn_app_jar/cytoscape-euler-1.2.1.jar
  inflating: nn_app_jar/cytoscape-klay-3.1.2.jar
  inflating: nn_app_jar/cytoscape-spread-3.0.0.jar
  inflating: nn_app_jar/d3-dispatch-2.0.0-rc.1.jar
  inflating: nn_app_jar/d3-drag-2.0.0-rc.1.jar
  inflating: nn_app_jar/d3js-3.3.5.jar
  inflating: nn_app_jar/d3-selection-3.0.0.jar
  inflating: nn_app_jar/d3-timer-2.0.0-rc.1.jar
  inflating: nn_app_jar/dagre-0.7.4.jar
  inflating: nn_app_jar/dagre-0.8.4.jar
  inflating: nn_app_jar/datatables-1.9.4.jar
  inflating: nn_app_jar/datavec-api-1.0.0-M2.1.jar
  inflating: nn_app_jar/datavec-arrow-1.0.0-M2.1.jar
  inflating: nn_app_jar/datavec-data-image-1.0.0-M2.1.jar
  inflating: nn_app_jar/datavec-local-1.0.0-M2.1.jar
  inflating: nn_app_jar/deeplearning4j-core-1.0.0-M2.1.jar
  inflating: nn_app_jar/deeplearning4j-datasets-1.0.0-M2.1.jar
  inflating: nn_app_jar/deeplearning4j-datavec-iterators-1.0.0-M2.1.jar
  inflating: nn_app_jar/deeplearning4j-modelimport-1.0.0-M2.1.jar
  inflating: nn_app_jar/deeplearning4j-nlp-1.0.0-M2.1.jar
  inflating: nn_app_jar/deeplearning4j-nn-1.0.0-M2.1.jar
  inflating: nn_app_jar/deeplearning4j-ui-1.0.0-M2.1.jar
  inflating: nn_app_jar/deeplearning4j-ui-components-1.0.0-M2.1.jar
  inflating: nn_app_jar/deeplearning4j-ui-model-1.0.0-M2.1.jar
  inflating: nn_app_jar/deeplearning4j-utility-iterators-1.0.0-M2.1.jar
  inflating: nn_app_jar/deeplearning4j-vertx-1.0.0-M2.1.jar
  inflating: nn_app_jar/eclipse-collections-7.1.2.jar
  inflating: nn_app_jar/eclipse-collections-api-7.1.2.jar
  inflating: nn_app_jar/eclipse-collections-forkjoin-7.1.2.jar
  inflating: nn_app_jar/elsa-3.0.0-M5.jar
  inflating: nn_app_jar/excanvas-3.jar
  inflating: nn_app_jar/explorercanvas-r3-1.jar
  inflating: nn_app_jar/fastutil-6.5.7.jar
  inflating: nn_app_jar/ffmpeg-5.0-1.5.7.jar
  inflating: nn_app_jar/ffmpeg-5.0-1.5.7-android-arm.jar
  inflating: nn_app_jar/ffmpeg-5.0-1.5.7-android-arm64.jar
  inflating: nn_app_jar/ffmpeg-5.0-1.5.7-android-x86.jar
  inflating: nn_app_jar/ffmpeg-5.0-1.5.7-android-x86_64.jar
  inflating: nn_app_jar/ffmpeg-5.0-1.5.7-linux-arm64.jar
  inflating: nn_app_jar/ffmpeg-5.0-1.5.7-linux-armhf.jar
  inflating: nn_app_jar/ffmpeg-5.0-1.5.7-linux-ppc64le.jar
  inflating: nn_app_jar/ffmpeg-5.0-1.5.7-linux-x86.jar
  inflating: nn_app_jar/ffmpeg-5.0-1.5.7-linux-x86_64.jar
  inflating: nn_app_jar/ffmpeg-5.0-1.5.7-macosx-arm64.jar
  inflating: nn_app_jar/ffmpeg-5.0-1.5.7-macosx-x86_64.jar
  inflating: nn_app_jar/ffmpeg-5.0-1.5.7-windows-x86.jar
  inflating: nn_app_jar/ffmpeg-5.0-1.5.7-windows-x86_64.jar
  inflating: nn_app_jar/ffmpeg-platform-5.0-1.5.7.jar
  inflating: nn_app_jar/flandmark-1.07-1.5.7.jar
  inflating: nn_app_jar/flatbuffers-1.9.0.jar
  inflating: nn_app_jar/flatbuffers-java-1.12.0.jar
  inflating: nn_app_jar/flot-0.8.3.jar
  inflating: nn_app_jar/flycapture-2.13.3.31-1.5.7.jar
  inflating: nn_app_jar/font-awesome-3.0.2.jar
  inflating: nn_app_jar/freemarker-2.3.23.jar
  inflating: nn_app_jar/fullcalendar-1.6.4.jar
  inflating: nn_app_jar/github-com-jboesch-Gritter-1.7.4.jar
  inflating: nn_app_jar/graphlib-1.0.7.jar
  inflating: nn_app_jar/graphlib-2.1.8.jar
  inflating: nn_app_jar/gson-2.8.0.jar
  inflating: nn_app_jar/guava-1.0.0-M2.1.jar
  inflating: nn_app_jar/guava-19.0.jar
  inflating: nn_app_jar/hdf5-1.12.1-1.5.7.jar
  inflating: nn_app_jar/hdf5-1.12.1-1.5.7-linux-arm64.jar
  inflating: nn_app_jar/hdf5-1.12.1-1.5.7-linux-armhf.jar
  inflating: nn_app_jar/hdf5-1.12.1-1.5.7-linux-ppc64le.jar
  inflating: nn_app_jar/hdf5-1.12.1-1.5.7-linux-x86.jar
  inflating: nn_app_jar/hdf5-1.12.1-1.5.7-linux-x86_64.jar
  inflating: nn_app_jar/hdf5-1.12.1-1.5.7-macosx-x86_64.jar
  inflating: nn_app_jar/hdf5-1.12.1-1.5.7-windows-x86.jar
  inflating: nn_app_jar/hdf5-1.12.1-1.5.7-windows-x86_64.jar
  inflating: nn_app_jar/hdf5-platform-1.12.1-1.5.7.jar
  inflating: nn_app_jar/heap-0.2.7.jar
  inflating: nn_app_jar/imageio-bmp-3.1.1.jar
  inflating: nn_app_jar/imageio-core-3.1.1.jar
  inflating: nn_app_jar/imageio-jpeg-3.1.1.jar
  inflating: nn_app_jar/imageio-metadata-3.1.1.jar
  inflating: nn_app_jar/imageio-psd-3.1.1.jar
  inflating: nn_app_jar/imageio-tiff-3.1.1.jar
  inflating: nn_app_jar/imagesloaded-2.1.1.jar
  inflating: nn_app_jar/jackson-1.0.0-M2.1.jar
  inflating: nn_app_jar/jackson-annotations-2.11.4.jar
  inflating: nn_app_jar/jackson-core-2.11.4.jar
  inflating: nn_app_jar/jackson-databind-2.11.4.jar
  inflating: nn_app_jar/jai-imageio-core-1.3.0.jar
  inflating: nn_app_jar/jakarta.activation-api-1.2.1.jar
  inflating: nn_app_jar/jakarta.xml.bind-api-2.3.2.jar
  inflating: nn_app_jar/javacpp-1.5.7.jar
  inflating: nn_app_jar/javacpp-1.5.7-android-arm.jar
  inflating: nn_app_jar/javacpp-1.5.7-android-arm64.jar
  inflating: nn_app_jar/javacpp-1.5.7-android-x86.jar
  inflating: nn_app_jar/javacpp-1.5.7-android-x86_64.jar
  inflating: nn_app_jar/javacpp-1.5.7-ios-arm64.jar
  inflating: nn_app_jar/javacpp-1.5.7-ios-x86_64.jar
  inflating: nn_app_jar/javacpp-1.5.7-linux-arm64.jar
  inflating: nn_app_jar/javacpp-1.5.7-linux-armhf.jar
  inflating: nn_app_jar/javacpp-1.5.7-linux-ppc64le.jar
  inflating: nn_app_jar/javacpp-1.5.7-linux-x86.jar
  inflating: nn_app_jar/javacpp-1.5.7-linux-x86_64.jar
  inflating: nn_app_jar/javacpp-1.5.7-macosx-arm64.jar
  inflating: nn_app_jar/javacpp-1.5.7-macosx-x86_64.jar
  inflating: nn_app_jar/javacpp-1.5.7-windows-x86.jar
  inflating: nn_app_jar/javacpp-1.5.7-windows-x86_64.jar
  inflating: nn_app_jar/javacpp-platform-1.5.7.jar
  inflating: nn_app_jar/javacv-1.5.7.jar
  inflating: nn_app_jar/javafx-base-11.jar
  inflating: nn_app_jar/javafx-base-11-win.jar
  inflating: nn_app_jar/javafx-graphics-11.jar
  inflating: nn_app_jar/javafx-graphics-11-win.jar
  inflating: nn_app_jar/javax.activation-1.2.0.jar
  inflating: nn_app_jar/javax.json-1.0.4.jar
  inflating: nn_app_jar/jcip-annotations-1.0.jar
  inflating: nn_app_jar/jcommander-1.27.jar
  inflating: nn_app_jar/jcommon-1.0.16.jar
  inflating: nn_app_jar/jcommon-1.0.23.jar
  inflating: nn_app_jar/jfasttext-0.4.jar
  inflating: nn_app_jar/jfreechart-1.0.13.jar
  inflating: nn_app_jar/jna-4.3.0.jar
  inflating: nn_app_jar/jna-platform-4.3.0.jar
  inflating: nn_app_jar/joda-time-2.2.jar
  inflating: nn_app_jar/jquery.sparkline-2.1.2.jar
  inflating: nn_app_jar/jquery-2.2.0.jar
  inflating: nn_app_jar/jquery-3.4.1.jar
  inflating: nn_app_jar/jquery-cookie-1.4.1-1.jar
  inflating: nn_app_jar/jquery-knob-1.2.2.jar
  inflating: nn_app_jar/jquery-migrate-1.2.1.jar
  inflating: nn_app_jar/jquery-raty-2.5.2.jar
  inflating: nn_app_jar/jquery-ui-1.10.2.jar
  inflating: nn_app_jar/jquery-ui-touch-punch-0.2.2.jar
  inflating: nn_app_jar/json-20190722.jar
  inflating: nn_app_jar/klayjs-0.4.1.jar
  inflating: nn_app_jar/leptonica-1.82.0-1.5.7.jar
  inflating: nn_app_jar/leptonica-1.82.0-1.5.7-android-arm.jar
  inflating: nn_app_jar/leptonica-1.82.0-1.5.7-android-arm64.jar
  inflating: nn_app_jar/leptonica-1.82.0-1.5.7-android-x86.jar
  inflating: nn_app_jar/leptonica-1.82.0-1.5.7-android-x86_64.jar
  inflating: nn_app_jar/leptonica-1.82.0-1.5.7-linux-arm64.jar
  inflating: nn_app_jar/leptonica-1.82.0-1.5.7-linux-armhf.jar
  inflating: nn_app_jar/leptonica-1.82.0-1.5.7-linux-ppc64le.jar
  inflating: nn_app_jar/leptonica-1.82.0-1.5.7-linux-x86.jar
  inflating: nn_app_jar/leptonica-1.82.0-1.5.7-linux-x86_64.jar
  inflating: nn_app_jar/leptonica-1.82.0-1.5.7-macosx-x86_64.jar
  inflating: nn_app_jar/leptonica-1.82.0-1.5.7-windows-x86.jar
  inflating: nn_app_jar/leptonica-1.82.0-1.5.7-windows-x86_64.jar
  inflating: nn_app_jar/leptonica-platform-1.82.0-1.5.7.jar
  inflating: nn_app_jar/libdc1394-2.2.6-1.5.7.jar
  inflating: nn_app_jar/libfreenect-0.5.7-1.5.7.jar
  inflating: nn_app_jar/libfreenect2-0.2.0-1.5.7.jar
  inflating: nn_app_jar/librealsense-1.12.4-1.5.7.jar
  inflating: nn_app_jar/librealsense2-2.50.0-1.5.7.jar
  inflating: nn_app_jar/lodash.debounce-4.0.8.jar
  inflating: nn_app_jar/lodash-3.10.1-amd.jar
  inflating: nn_app_jar/lodash-4.17.21.jar
  inflating: nn_app_jar/logback-classic-1.1.7.jar
  inflating: nn_app_jar/logback-core-1.1.7.jar
  inflating: nn_app_jar/lz4-1.3.0.jar
  inflating: nn_app_jar/mapdb-3.0.5.jar
  inflating: nn_app_jar/masonry-3.1.5.jar
  inflating: nn_app_jar/modernizr-2.8.3-1.jar
  inflating: nn_app_jar/nd4j-api-1.0.0-M2.1.jar
  inflating: nn_app_jar/nd4j-common-1.0.0-M2.1.jar
  inflating: nn_app_jar/nd4j-native-1.0.0-M2.1.jar
  inflating: nn_app_jar/nd4j-native-1.0.0-M2.1-windows-x86_64.jar
  inflating: nn_app_jar/nd4j-native-api-1.0.0-M2.1.jar
  inflating: nn_app_jar/nd4j-native-preset-1.0.0-M2.1.jar
  inflating: nn_app_jar/nd4j-native-preset-1.0.0-M2.1-windows-x86_64.jar
  inflating: nn_app_jar/nd4j-presets-common-1.0.0-M2.1.jar
  inflating: nn_app_jar/neoitertools-1.0.0.jar
  inflating: nn_app_jar/netty-buffer-4.1.48.Final.jar
  inflating: nn_app_jar/netty-codec-4.1.48.Final.jar
  inflating: nn_app_jar/netty-codec-dns-4.1.48.Final.jar
  inflating: nn_app_jar/netty-codec-http2-4.1.48.Final.jar
  inflating: nn_app_jar/netty-codec-http-4.1.48.Final.jar
  inflating: nn_app_jar/netty-codec-socks-4.1.48.Final.jar
  inflating: nn_app_jar/netty-common-1.0.0-M2.1.jar
  inflating: nn_app_jar/netty-common-4.1.68.Final.jar
  inflating: nn_app_jar/netty-handler-4.1.48.Final.jar
  inflating: nn_app_jar/netty-handler-proxy-4.1.48.Final.jar
  inflating: nn_app_jar/netty-resolver-4.1.48.Final.jar
  inflating: nn_app_jar/netty-resolver-dns-4.1.48.Final.jar
  inflating: nn_app_jar/netty-transport-4.1.48.Final.jar
  inflating: nn_app_jar/nn-app.jar
  inflating: nn_app_jar/noty-2.2.2.jar
  inflating: nn_app_jar/numpy-1.22.2-1.5.7.jar
  inflating: nn_app_jar/numpy-1.22.2-1.5.7-linux-arm64.jar
  inflating: nn_app_jar/numpy-1.22.2-1.5.7-linux-armhf.jar
  inflating: nn_app_jar/numpy-1.22.2-1.5.7-linux-ppc64le.jar
  inflating: nn_app_jar/numpy-1.22.2-1.5.7-linux-x86.jar
  inflating: nn_app_jar/numpy-1.22.2-1.5.7-linux-x86_64.jar
  inflating: nn_app_jar/numpy-1.22.2-1.5.7-macosx-x86_64.jar
  inflating: nn_app_jar/numpy-1.22.2-1.5.7-windows-x86.jar
  inflating: nn_app_jar/numpy-1.22.2-1.5.7-windows-x86_64.jar
  inflating: nn_app_jar/numpy-platform-1.22.2-1.5.7.jar
  inflating: nn_app_jar/openblas-0.3.19-1.5.7.jar
  inflating: nn_app_jar/openblas-0.3.19-1.5.7-windows-x86_64.jar
  inflating: nn_app_jar/opencsv-2.3.jar
  inflating: nn_app_jar/opencv-4.5.5-1.5.7.jar
  inflating: nn_app_jar/opencv-4.5.5-1.5.7-android-arm.jar
  inflating: nn_app_jar/opencv-4.5.5-1.5.7-android-arm64.jar
  inflating: nn_app_jar/opencv-4.5.5-1.5.7-android-x86.jar
  inflating: nn_app_jar/opencv-4.5.5-1.5.7-android-x86_64.jar
  inflating: nn_app_jar/opencv-4.5.5-1.5.7-ios-arm64.jar
  inflating: nn_app_jar/opencv-4.5.5-1.5.7-ios-x86_64.jar
  inflating: nn_app_jar/opencv-4.5.5-1.5.7-linux-arm64.jar
  inflating: nn_app_jar/opencv-4.5.5-1.5.7-linux-armhf.jar
  inflating: nn_app_jar/opencv-4.5.5-1.5.7-linux-ppc64le.jar
  inflating: nn_app_jar/opencv-4.5.5-1.5.7-linux-x86.jar
  inflating: nn_app_jar/opencv-4.5.5-1.5.7-linux-x86_64.jar
  inflating: nn_app_jar/opencv-4.5.5-1.5.7-macosx-arm64.jar
  inflating: nn_app_jar/opencv-4.5.5-1.5.7-macosx-x86_64.jar
  inflating: nn_app_jar/opencv-4.5.5-1.5.7-windows-x86.jar
  inflating: nn_app_jar/opencv-4.5.5-1.5.7-windows-x86_64.jar
  inflating: nn_app_jar/opencv-platform-4.5.5-1.5.7.jar
  inflating: nn_app_jar/open-sans-0.1.3.jar
  inflating: nn_app_jar/oshi-core-3.4.2.jar
  inflating: nn_app_jar/oshi-json-3.4.2.jar
  inflating: nn_app_jar/popper.js-1.12.9.jar
  inflating: nn_app_jar/protobuf-1.0.0-M2.1.jar
  inflating: nn_app_jar/protonpack-1.15.jar
  inflating: nn_app_jar/python4j-core-1.0.0-M2.1.jar
  inflating: nn_app_jar/python4j-numpy-1.0.0-M2.1.jar
  inflating: nn_app_jar/regenerator-runtime-0.13.11.jar
  inflating: nn_app_jar/resources-1.0.0-M2.1.jar
  inflating: nn_app_jar/retinajs-0.0.2.jar
  inflating: nn_app_jar/slf4j-api-1.7.21.jar
  inflating: nn_app_jar/sqlite-jdbc-3.15.1.jar
  inflating: nn_app_jar/stream-2.9.8.jar
  inflating: nn_app_jar/t-digest-3.2.jar
  inflating: nn_app_jar/tesseract-5.0.1-1.5.7.jar
  inflating: nn_app_jar/threadly-4.10.0.jar
  inflating: nn_app_jar/threetenbp-1.3.3.jar
  inflating: nn_app_jar/uniform-2.1.2-1.jar
  inflating: nn_app_jar/vertx-auth-common-3.9.0.jar
  inflating: nn_app_jar/vertx-bridge-common-3.9.0.jar
  inflating: nn_app_jar/vertx-core-3.9.0.jar
  inflating: nn_app_jar/vertx-web-3.9.0.jar
  inflating: nn_app_jar/vertx-web-common-3.9.0.jar
  inflating: nn_app_jar/videoinput-0.200-1.5.7.jar
  inflating: nn_app_jar/weaverjs-1.2.0.jar
  inflating: nn_app_jar/webcola-3.3.8.jar

The error seems to be something low-level at the cpp level.
I’ve tried changing dependency versions, I think I’ve tried all versions, but the error remains the same.
What could be the problem? What did I do wrong?

@meow any reason why you manually specified the openblas version? You should just need nd4j-native-platform.

I tried at first using only nd4j-native-platform without dependency with openblas, but I had problems and then I met a solution suggestion where I had to insert openblas dependency, but that didn’t help me either.

Thanks for help @agibsonccc!
I was able to solve the problem. I changed the way the application was built. Used nd4j-native-platform and only with version 1.0.0-M1, I don’t know why, but with other versions the application doesn’t work. Removed openblas-platform from the dependency.

I didn’t understand why the application complained about no jnind4jcpu on run, although I also didn’t have it in 1.0.0-M1 version after a successful run. I searched through the command

7z l ./nn-app-1.0.0.0-SNAPSHOT-shaded.jar | fgrep jnind4jcpu | grep -v META-INF

2024-09-17 12:03:18 .....      2774608       647411  lib/armeabi-v7a/libjnind4jcpu.so
2024-09-17 12:03:24 .....      2988024       654104  lib/arm64-v8a/libjnind4jcpu.so
2024-09-17 12:03:44 .....      3077720       704397  lib/x86/libjnind4jcpu.so
2024-09-17 12:03:44 .....      3115272       764968  lib/x86_64/libjnind4jcpu.so
2024-09-17 12:03:56 .....      3234040       782616  org/nd4j/nativeblas/linux-x86_64/libjnind4jcpu.so
2024-09-17 12:04:12 .....      3034944       714554  org/nd4j/nativeblas/macosx-x86_64/libjnind4jcpu.dylib
2024-09-17 12:04:12 .....      2786304       660973  org/nd4j/nativeblas/windows-x86_64/jnind4jcpu.dll
2024-09-17 12:04:26 .....      2764756       676239  org/nd4j/nativeblas/linux-armhf/libjnind4jcpu.so

But the output results are the same as in 1.0.0-M2.1, which didn’t work for me.

I also noticed that only one thread is being used based on the logs:

14:14:57.567 [main] INFO org.example.Main - Application started
14:14:57.777 [main] INFO org.nd4j.linalg.factory.Nd4jBackend - Loaded [CpuBackend] backend
14:14:57.786 [main] ERROR org.nd4j.common.config.ND4JClassLoading - Cannot find class [org.nd4j.linalg.jblas.JblasBackend] of provided class-loader.
14:14:57.786 [main] ERROR org.nd4j.common.config.ND4JClassLoading - Cannot find class [org.canova.api.io.data.DoubleWritable] of provided class-loader.
14:14:57.787 [main] ERROR org.nd4j.common.config.ND4JClassLoading - Cannot find class [org.nd4j.linalg.jblas.JblasBackend] of provided class-loader.
14:14:57.787 [main] ERROR org.nd4j.common.config.ND4JClassLoading - Cannot find class [org.canova.api.io.data.DoubleWritable] of provided class-loader.
14:14:59.558 [main] INFO org.nd4j.nativeblas.NativeOpsHolder - Number of threads used for linear algebra: 1
14:14:59.560 [main] INFO org.nd4j.linalg.cpu.nativecpu.CpuNDArrayFactory - Binary level Generic x86 optimization level AVX/AVX2
14:14:59.568 [main] INFO org.nd4j.nativeblas.Nd4jBlas - Number of threads used for OpenMP BLAS: 1
14:14:59.575 [main] INFO org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner - Backend used: [CPU]; OS: [Linux]
14:14:59.575 [main] INFO org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner - Cores: [20]; Memory: [9,3GB];
14:14:59.575 [main] INFO org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner - Blas vendor: [OPENBLAS]
14:14:59.595 [main] INFO org.nd4j.linalg.cpu.nativecpu.CpuBackend - Backend build information:
 GCC: "7.5.0"

@meow can you set the jvm system property to org.bytedeco.javacpp.logger.debug = true

That will show what is failing to load. It could be some sort of a libc issue.

Sure, @agibsonccc, here’s the log`s output via:

java -Dorg.bytedeco.javacpp.logger.debug=true -jar nn-app-1.0.0-SNAPSHOT-load-shaded.jar LandSegmentModel-M1.zip

Output:

10:26:31.712 [main] INFO org.example.Main - Application started
10:26:31.926 [main] INFO org.nd4j.linalg.factory.Nd4jBackend - Loaded [CpuBackend] backend
10:26:31.935 [main] ERROR org.nd4j.common.config.ND4JClassLoading - Cannot find class [org.nd4j.linalg.jblas.JblasBackend] of provided class-loader.
10:26:31.935 [main] ERROR org.nd4j.common.config.ND4JClassLoading - Cannot find class [org.canova.api.io.data.DoubleWritable] of provided class-loader.
10:26:31.935 [main] ERROR org.nd4j.common.config.ND4JClassLoading - Cannot find class [org.nd4j.linalg.jblas.JblasBackend] of provided class-loader.
10:26:31.935 [main] ERROR org.nd4j.common.config.ND4JClassLoading - Cannot find class [org.canova.api.io.data.DoubleWritable] of provided class-loader.
Debug: Loading class org.bytedeco.javacpp.presets.javacpp
Debug: Loading class org.bytedeco.javacpp.Loader
Debug: Loading /root/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-load-shaded.jar/org/bytedeco/javacpp/linux-x86_64/libjnijavacpp.so
Debug: Loading class org.bytedeco.javacpp.presets.javacpp
Debug: Loading class org.bytedeco.javacpp.Pointer
Debug: Loading class org.bytedeco.javacpp.presets.javacpp
Debug: Loading class org.bytedeco.openblas.global.openblas_nolapack
Debug: Loading class org.bytedeco.javacpp.presets.javacpp
Debug: Loading class org.bytedeco.openblas.global.openblas_nolapack
Debug: Loading /root/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-load-shaded.jar/org/bytedeco/openblas/linux-x86_64/libgcc_s.so.1
Debug: Loading /root/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-load-shaded.jar/org/bytedeco/openblas/linux-x86_64/libquadmath.so.0
Debug: Loading library gfortran
Debug: Failed to load for gfortran@.5: java.lang.UnsatisfiedLinkError: no gfortran in java.library.path: [/usr/java/packages/lib, /usr/lib/x86_64-linux-gnu/jni, /lib/x86_64-linux-gnu, /usr/lib/x86_64-linux-gnu, /usr/lib/jni, /lib, /usr/lib]
Debug: Loading /root/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-load-shaded.jar/org/bytedeco/openblas/linux-x86_64/libgfortran.so.4
Debug: Loading library gfortran
Debug: Failed to load for gfortran@.3: java.lang.UnsatisfiedLinkError: no gfortran in java.library.path: [/usr/java/packages/lib, /usr/lib/x86_64-linux-gnu/jni, /lib/x86_64-linux-gnu, /usr/lib/x86_64-linux-gnu, /usr/lib/jni, /lib, /usr/lib]
Debug: Loading /root/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-load-shaded.jar/org/bytedeco/openblas/linux-x86_64/libopenblas_nolapack.so.0
Debug: Loading /root/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-load-shaded.jar/org/bytedeco/openblas/linux-x86_64/libjniopenblas_nolapack.so
Debug: Loading class org.bytedeco.openblas.global.openblas
Debug: Loading class org.bytedeco.javacpp.presets.javacpp
Debug: Loading class org.bytedeco.openblas.global.openblas_nolapack
Debug: Loading class org.bytedeco.openblas.global.openblas
Debug: Loading /root/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-load-shaded.jar/org/bytedeco/openblas/linux-x86_64/libopenblas.so.0
Debug: Loading /root/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-load-shaded.jar/org/bytedeco/openblas/linux-x86_64/libjniopenblas.so
Debug: Loading class org.nd4j.nativeblas.Nd4jCpu
Debug: Loading /root/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-load-shaded.jar/org/nd4j/nativeblas/linux-x86_64/libgomp.so
Debug: Loading /root/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-load-shaded.jar/org/nd4j/nativeblas/linux-x86_64/libnd4jcpu.so
Debug: Loading /root/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-load-shaded.jar/org/nd4j/nativeblas/linux-x86_64/libjnind4jcpu.so
10:26:32.280 [main] INFO org.nd4j.nativeblas.NativeOpsHolder - Number of threads used for linear algebra: 1
10:26:32.282 [main] INFO org.nd4j.linalg.cpu.nativecpu.CpuNDArrayFactory - Binary level Generic x86 optimization level AVX/AVX2
Debug: Loading class org.bytedeco.javacpp.presets.javacpp
Debug: Loading class org.bytedeco.openblas.global.openblas_nolapack
Debug: Loading class org.bytedeco.openblas.presets.openblas_nolapack
Debug: Loading class org.bytedeco.javacpp.presets.javacpp
Debug: Loading class org.bytedeco.openblas.global.openblas_nolapack
Debug: Loading class org.bytedeco.openblas.presets.openblas_nolapack$SetNumThreads
Debug: Registering org.bytedeco.openblas.presets.openblas_nolapack$SetNumThreads[address=0x71bef4946430,position=0,limit=1,capacity=1,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4946430,deallocatorAddress=0x71beb8499660]]
10:26:32.287 [main] INFO org.nd4j.nativeblas.Nd4jBlas - Number of threads used for OpenMP BLAS: 1
Debug: Loading class org.bytedeco.javacpp.presets.javacpp
Debug: Loading class org.bytedeco.javacpp.PointerPointer
Debug: Registering org.bytedeco.javacpp.PointerPointer[address=0x71bef4949940,position=0,limit=10,capacity=10,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4949940,deallocatorAddress=0x71be5d8cabb0]]
10:26:32.293 [main] INFO org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner - Backend used: [CPU]; OS: [Linux]
10:26:32.293 [main] INFO org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner - Cores: [20]; Memory: [9,3GB];
10:26:32.293 [main] INFO org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner - Blas vendor: [OPENBLAS]
10:26:32.300 [main] INFO org.nd4j.linalg.cpu.nativecpu.CpuBackend - Backend build information:
 GCC: "7.5.0"
STD version: 201103L
DEFAULT_ENGINE: samediff::ENGINE_CPU
HAVE_FLATBUFFERS
HAVE_OPENBLAS
Debug: Loading class org.bytedeco.javacpp.presets.javacpp
Debug: Loading class org.bytedeco.javacpp.LongPointer
Debug: Loading class org.bytedeco.javacpp.presets.javacpp
Debug: Loading class org.bytedeco.javacpp.FloatPointer
Debug: Collecting org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4949940,deallocatorAddress=0x71be5d8cabb0]
Debug: Collecting org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4946430,deallocatorAddress=0x71beb8499660]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4946430,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4946430,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef48d1060,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef48d1060,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef45cac60,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef45cac60,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef453f140,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef453f140,deallocatorAddress=0x71be5d8cab10]]
10:26:32.713 [main] INFO org.deeplearning4j.nn.multilayer.MultiLayerNetwork - Starting MultiLayerNetwork with WorkspaceModes set to [training: ENABLED; inference: ENABLED], cacheMode set to [NONE]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4afdfe0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4afdfe0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4afe000,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4afe000,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4afe0b0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4afe0b0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4aff020,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4aff020,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4afb9e0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4afb9e0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4afba00,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4afba00,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4afa3c0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4afa3c0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4aff870,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4aff870,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4aff940,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4aff940,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4aff9b0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4aff9b0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b03b90,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b03b90,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b03bb0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b03bb0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b03d00,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b03d00,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4affe00,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4affe00,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4affed0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4affed0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4afff70,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4afff70,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b07750,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b07750,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b07940,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b07940,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b079b0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b079b0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b079f0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b079f0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b07c40,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b07c40,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b07c60,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b07c60,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b07d60,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b07d60,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b07d80,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b07d80,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b07e30,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b07e30,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b07e50,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b07e50,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b07f00,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b07f00,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b07f20,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b07f20,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b07fd0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b07fd0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b07ff0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b07ff0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b080c0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b080c0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b08130,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b08130,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b08190,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b08190,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b081b0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b081b0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b08260,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b08260,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b08280,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b08280,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b08340,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b08340,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b08360,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b08360,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b051b0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b051b0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b051d0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b051d0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b05260,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b05260,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b05280,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b05280,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b05670,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b05670,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b05690,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b05690,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b05720,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b05720,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b05740,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b05740,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b057f0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b057f0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b05810,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b05810,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b059b0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b059b0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b059d0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b059d0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b056b0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b056b0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b05a30,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b05a30,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b05b40,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b05b40,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b05b60,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b05b60,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b05bf0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b05bf0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b05c10,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b05c10,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b0b0e0,position=0,limit=0,capacity=0,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b0b0e0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b0b130,position=0,limit=0,capacity=0,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b0b130,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b0d790,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b0d790,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b0d6b0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b0d6b0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b0cf30,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b0cf30,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b0cf50,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b0cf50,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.PointerPointer[address=0x71bef4b10270,position=0,limit=32,capacity=32,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b10270,deallocatorAddress=0x71be5d8cabb0]]
Debug: Loading class org.bytedeco.javacpp.presets.javacpp
Debug: Loading class org.bytedeco.javacpp.DoublePointer
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b10430,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b10430,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b10450,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b10450,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b20cd0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b20cd0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b208e0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b208e0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b1ef60,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b1ef60,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b1ef80,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b1ef80,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b1efa0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b1efa0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b248a0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b248a0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b26230,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b26230,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b26250,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b26250,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b33200,position=0,limit=3,capacity=3,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b33200,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.DoublePointer[address=0x71bef4b35280,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b35280,deallocatorAddress=0x71be5d8cab50]]
Debug: Loading class org.bytedeco.javacpp.presets.javacpp
Debug: Loading class org.bytedeco.openblas.global.openblas_nolapack
Debug: Loading class org.bytedeco.openblas.global.openblas
Debug: Loading class org.nd4j.nativeblas.Nd4jCpu
Debug: Loading class org.nd4j.nativeblas.Nd4jCpu$Environment
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b56fe0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b56fe0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b57000,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b57000,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b570b0,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b570b0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b57150,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b57150,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b57020,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b57020,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b57360,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b57360,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b596b0,position=0,limit=3,capacity=3,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b596b0,deallocatorAddress=0x71be5d8cab10]]
Debug: Registering org.bytedeco.javacpp.DoublePointer[address=0x71bef4b59a50,position=0,limit=2,capacity=2,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b59a50,deallocatorAddress=0x71be5d8cab50]]
Debug: Registering org.bytedeco.javacpp.LongPointer[address=0x71bef4b5a0e0,position=0,limit=1,capacity=1,deallocator=org.bytedeco.javacpp.Pointer$NativeDeallocator[ownerAddress=0x71bef4b5a0e0,deallocatorAddress=0x71be5d8cab10]]
[[    0.0636,    0.0623,    0.5677,    0.1069,    0.0334,    0.0402,    0.0365,    0.0350,    0.0545]]

Sorry, @agibsonccc, last time I uploaded the logs from the version I had working 1.0.0.0-M1.1 nd4j-native-platform.
Now I tried uploading the logs you asked for on the version I had that was not working on my Linux server 1.0.0.0-M2.1 nd4j-native-platform
Here are the logs:

java -Dorg.bytedeco.javacpp.logger.debug=true -jar nn-app-1.0.0-SNAPSHOT-shaded.jar ./1700-4000-9/LandSegmentModel-M1-90.zip
11:20:05.272 [main] INFO org.example.Main - Application started
11:20:05.416 [main] INFO org.nd4j.linalg.factory.Nd4jBackend - Loaded [CpuBackend] backend
Debug: Loading class org.bytedeco.javacpp.presets.javacpp
Debug: Loading class org.bytedeco.javacpp.Loader
Debug: Loading /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/bytedeco/javacpp/linux-x86_64/libjnijavacpp.so
Debug: Loading class org.bytedeco.javacpp.presets.javacpp
Debug: Loading class org.bytedeco.javacpp.Pointer
Debug: Loading class org.bytedeco.javacpp.presets.javacpp
Debug: Loading class org.bytedeco.openblas.global.openblas_nolapack
Debug: Loading class org.bytedeco.javacpp.presets.javacpp
Debug: Loading class org.bytedeco.openblas.global.openblas_nolapack
Debug: Loading /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/bytedeco/openblas/linux-x86_64/libgcc_s.so.1
Debug: Loading /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/bytedeco/openblas/linux-x86_64/libquadmath.so.0
Debug: Loading /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/bytedeco/openblas/linux-x86_64/libgfortran.so.5
Debug: Loading library gfortran
Debug: Failed to load for gfortran@.4: java.lang.UnsatisfiedLinkError: no gfortran in java.library.path: [/usr/java/packages/lib, /usr/lib/x86_64-linux-gnu/jni, /lib/x86_64-linux-gnu, /usr/lib/x86_64-linux-gnu, /usr/lib/jni, /lib, /usr/lib]
Debug: Loading library gfortran
Debug: Failed to load for gfortran@.3: java.lang.UnsatisfiedLinkError: no gfortran in java.library.path: [/usr/java/packages/lib, /usr/lib/x86_64-linux-gnu/jni, /lib/x86_64-linux-gnu, /usr/lib/x86_64-linux-gnu, /usr/lib/jni, /lib, /usr/lib]
Debug: Loading /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/bytedeco/openblas/linux-x86_64/libopenblas_nolapack.so.0
Debug: Loading /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/bytedeco/openblas/linux-x86_64/libjniopenblas_nolapack.so
Debug: Loading class org.bytedeco.openblas.global.openblas
Debug: Loading class org.bytedeco.javacpp.presets.javacpp
Debug: Loading class org.bytedeco.openblas.global.openblas_nolapack
Debug: Loading class org.bytedeco.openblas.global.openblas
Debug: Loading /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/bytedeco/openblas/linux-x86_64/libopenblas.so.0
Debug: Loading /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/bytedeco/openblas/linux-x86_64/libjniopenblas.so
Debug: Loading class org.nd4j.linalg.cpu.nativecpu.bindings.Nd4jCpu
Debug: Loading /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/nd4j/linalg/cpu/nativecpu/bindings/linux-x86_64/libgomp.so.1
Debug: Loading /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/nd4j/linalg/cpu/nativecpu/bindings/linux-x86_64/libnd4jcpu.so
Debug: Failed to load /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/nd4j/linalg/cpu/nativecpu/bindings/linux-x86_64/libnd4jcpu.so: java.lang.UnsatisfiedLinkError: /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/nd4j/linalg/cpu/nativecpu/bindings/linux-x86_64/libnd4jcpu.so: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/nd4j/linalg/cpu/nativecpu/bindings/linux-x86_64/libnd4jcpu.so)
Debug: Loading library nd4jcpu
Debug: Failed to load for nd4jcpu: java.lang.UnsatisfiedLinkError: no nd4jcpu in java.library.path: [/usr/java/packages/lib, /usr/lib/x86_64-linux-gnu/jni, /lib/x86_64-linux-gnu, /usr/lib/x86_64-linux-gnu, /usr/lib/jni, /lib, /usr/lib]
Debug: Loading /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/nd4j/linalg/cpu/nativecpu/bindings/linux-x86_64/libjnind4jcpu.so
Debug: Failed to load /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/nd4j/linalg/cpu/nativecpu/bindings/linux-x86_64/libjnind4jcpu.so: java.lang.UnsatisfiedLinkError: /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/nd4j/linalg/cpu/nativecpu/bindings/linux-x86_64/libjnind4jcpu.so: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/nd4j/linalg/cpu/nativecpu/bindings/linux-x86_64/libnd4jcpu.so)
Debug: Loading library jnind4jcpu
Debug: Failed to load for jnind4jcpu: java.lang.UnsatisfiedLinkError: no jnind4jcpu in java.library.path: [/usr/java/packages/lib, /usr/lib/x86_64-linux-gnu/jni, /lib/x86_64-linux-gnu, /usr/lib/x86_64-linux-gnu, /usr/lib/jni, /lib, /usr/lib]
Exception in thread "main" java.lang.ExceptionInInitializerError
        at org.nd4j.linalg.cpu.nativecpu.ops.NativeOpExecutioner.<init>(NativeOpExecutioner.java:79)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
        at java.base/java.lang.Class.newInstance(Class.java:584)
        at org.nd4j.linalg.factory.Nd4j.initWithBackend(Nd4j.java:5152)
        at org.nd4j.linalg.factory.Nd4j.initContext(Nd4j.java:5064)
        at org.nd4j.linalg.factory.Nd4j.<clinit>(Nd4j.java:284)
        at org.deeplearning4j.util.ModelSerializer.restoreMultiLayerNetworkHelper(ModelSerializer.java:282)
        at org.deeplearning4j.util.ModelSerializer.restoreMultiLayerNetwork(ModelSerializer.java:237)
        at org.deeplearning4j.util.ModelSerializer.restoreMultiLayerNetwork(ModelSerializer.java:221)
        at org.deeplearning4j.nn.multilayer.MultiLayerNetwork.load(MultiLayerNetwork.java:3891)
        at org.example.Main.main(Main.java:42)
Caused by: java.lang.RuntimeException: ND4J is probably missing dependencies. For more information, please refer to: https://deeplearning4j.konduit.ai/nd4j/backend
        at org.nd4j.nativeblas.NativeOpsHolder.<init>(NativeOpsHolder.java:107)
        at org.nd4j.nativeblas.NativeOpsHolder.<clinit>(NativeOpsHolder.java:41)
        ... 14 more
Caused by: java.lang.UnsatisfiedLinkError: no jnind4jcpu in java.library.path: [/usr/java/packages/lib, /usr/lib/x86_64-linux-gnu/jni, /lib/x86_64-linux-gnu, /usr/lib/x86_64-linux-gnu, /usr/lib/jni, /lib, /usr/lib]
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2673)
        at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
        at java.base/java.lang.System.loadLibrary(System.java:1873)
        at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1800)
        at org.bytedeco.javacpp.Loader.load(Loader.java:1402)
        at org.bytedeco.javacpp.Loader.load(Loader.java:1214)
        at org.bytedeco.javacpp.Loader.load(Loader.java:1190)
        at org.nd4j.linalg.cpu.nativecpu.bindings.Nd4jCpu.<clinit>(Nd4jCpu.java:14)
        at java.base/java.lang.Class.forName0(Native Method)
        at java.base/java.lang.Class.forName(Class.java:398)
        at org.nd4j.common.config.ND4JClassLoading.loadClassByName(ND4JClassLoading.java:62)
        at org.nd4j.common.config.ND4JClassLoading.loadClassByName(ND4JClassLoading.java:56)
        at org.nd4j.nativeblas.NativeOpsHolder.<init>(NativeOpsHolder.java:97)
        ... 15 more
Caused by: java.lang.UnsatisfiedLinkError: /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/nd4j/linalg/cpu/nativecpu/bindings/linux-x86_64/libjnind4jcpu.so: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/nd4j/linalg/cpu/nativecpu/bindings/linux-x86_64/libnd4jcpu.so)
        at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
        at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2445)
        at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2501)
        at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2700)
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2630)
        at java.base/java.lang.Runtime.load0(Runtime.java:768)
        at java.base/java.lang.System.load(System.java:1837)
        at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1747)
        ... 24 more

I hope this helps to understand what is wrong with mine, because I would like to use version 1.0.0-M2.1 on a Linux server.
I would be glad if you could reply, thank you

try running ldd /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/bytedeco/openblas/linux-x86_64/libgfortran.so.5

It looks like your install maybe missing a library that is usually available and because there is a dependency that’s not met, it cant load that file.

ldd will tell you what those dependencies are.

Thanks @treo for the quick reply here’s what I got out of it:

ldd /home/user/.javacpp/cache/nn-app-1.0.0-SNAPSHOT-shaded.jar/org/bytedeco/openblas/linux-x86_64/libgfortran.so.5
        linux-vdso.so.1 (0x00007fffd0d7e000)
        libquadmath.so.0 => /usr/lib/x86_64-linux-gnu/libquadmath.so.0 (0x000079c11c13b000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x000079c11bf21000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x000079c11bc1d000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x000079c11ba06000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000079c11b667000)
        /lib64/ld-linux-x86-64.so.2 (0x000079c11c7f2000)

Oh, I didn’t scroll far enough to the right in your original error message.

This tells you what the actual problem is: You glibc version is too old. glibc 2.27 was released at the beginning of 2018.

And even Ubuntu 18.04 already comes with it. So that would suggest that your are running on an ancient Linux version, and the only thing that we can suggest here is that you update your linux.