[gdal-dev] Java bindings on OSX and CentOS

Lorenzo Di Giacomo loridigia at gmail.com
Tue Jan 19 03:13:56 PST 2021


Hi, i installed GDAL on OSX via brew install.
Then i tried to add the dependecy on Maven but when i execute a simple
command like "gdal.Open()", but i get java.lang.UnsatisfiedLinkError:
org.gdal.gdal.gdalJNI.Open__SWIG_1(Ljava/lang/String;)J.
I undertood that i need to set the java bindings, but all the guides that i
found are old and outdated and can't find a way to generate the Java
binding for OSX.

How should i do to use java on Osx? and on Centos? Thx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210119/c4c8e36d/attachment.html>


More information about the gdal-dev mailing list