I downloaded Gdal release-1928-x64-gdal-3-2-1-mapserver-7-6-2-libs.zip and decompressed it to C:\Program Files\Gdal_321.
I tried to get help from gdal-dev for three weeks now, but without any luck.
I allways get the message:
Native library load failed.
java.lang.UnsatisfiedLinkError: C:\Program Files\java-1.8.0-openjdk-1.8.0.201-1.b09.ojdkbuild.windows.x86_64\jre\bin\gdalalljni.dll: The specified procedure cannot be found
when I try to execute System.loadLibrary("gdalalljni")
Setup:
Windows 10 64-bit with x64 based processor
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 158 Stepping 13, GenuineIntel
PROCESSOR_LEVEL=6
The Java I’m using is: java-1.8.0-openjdk-1.8.0.201-1.b09.ojdkbuild.windows.x86_64
Installed release-1928-x64-gdal-3-2-1-mapserver-7-6-2-libs.zip in C:\Program Files\Gdal_321
Then I copied the gdalalljni.dll to C:\Program Files\java-1.8.0-openjdk-1.8.0.201-1.b09.ojdkbuild.windows.x86_64\jre\bin
Added the following to the system path:
C:\Program Files\java-1.8.0-openjdk-1.8.0.201-1.b09.ojdkbuild.windows.x86_64\jdk-8.0.262.10-hotspot\jre\bin
C:\Program Files\Gdal_321\bin\gdal\java
C:\Program Files\Gdal_321\bin
C:\Program Files\Gdal_321
C:\Program Files\Gdal_321\bin\gdal\apps
C:\Program Files\Gdal_321\bin\gdal\python\osgeo
C:\Program Files\Gdal_321\bin\proj7\apps
C:\Program Files\Gdal_321\bin\ms\apps
C:\Program Files\Gdal_321\bin\gdal\csharp
C:\Program Files\Gdal_321\bin\curl
Added the following system variables:
GDAL_DATA=C:\Program Files\Gdal_321\bin\gdal-data
GDAL_DRIVER_PATH=C:\Program Files\Gdal_321\bin\gdal\plugins;C:\Program Files\Gdal_321\bin\gdal\plugins-external;C:\Program Files\Gdal_321\bin\gdal\plugins-optional
JAVA_HOME=C:\Program Files\java-1.8.0-openjdk-1.8.0.201-1.b09.ojdkbuild.windows.x86_64\jre
PROJ_LIB=C:\Program Files\Gdal_321\bin\proj7\share
Then I added C:\Program Files\Gdal_321\bin\gdal\java\gdal.jar to my class-path
When I’m executing the program I get:
Native library load failed.
java.lang.UnsatisfiedLinkError: C:\Program Files\OpenJDK\jdk-8.0.262.10-hotspot\jre\bin\gdalalljni.dll: The specified procedure cannot be found
Then I’ve installed dependency Walker 22_x64.
I don’t know how to use it, but when I load gdalalljni.dll I get the following errorcodes:
See dependecy