I make web application in Eclipse using GDAL. In Eclipse in Debug Configurations i add variable path=path/to/gdal/folder. In project i add
gdal.jar to build path and copy gdal folder in lib directory. And all works fine. After i export my application to WAR file and want to deploy it in another computer. I download gdal for Win 64bit, put it in tomcat/shared/lib and add it in Win varible PATH.
And get error:
java.lang.UnsatisfiedLinkError: org.gdal.ogr.ogrJNI.GetDriverCount()I org.gdal.ogr.ogrJNI.GetDriverCount(Native Method)
What i can do wrong?
catalina.bat i set
set JAVA_OPTS="-Djava.library.path=/tomcat/shared/lib" but its not help me. There i get answer that if i see something like this in errors its mean that library is loaded and problem in library itself.