[gdal-dev] Gdal Java

Stefan Moebius Stefan.Moebius at amdocs.com
Wed Mar 24 01:41:44 PDT 2021


Hi Paul,
I find the binaries provided at https://www.gisinternals.com/release.php the easiest to use. If you click on one build, e.g. release-1928-x64-gdal-3-2-1-mapserver-7-6-2, you get a number of download options, including several installers. If you use the first one (Compiled binaries in a single .zip package), you get an archive which you need to extract, and which contains a folder bin\gdal\java. In there you find gdal.jar and gdalalljni.dll. Now in order to use this, you need to have

  *   Gdal.jar in your Java Classpath
  *   The extracted bin\gdal\java and bin folders in your Path (in Eclipse: Run Configuration -> Environment -> Select -> Path, then edit the value, or set in the system)

If that doesn't work, you'll need to provide some more detailed description of what issue you are facing.

--
Stefan

From: gdal-dev <gdal-dev-bounces at lists.osgeo.org> On Behalf Of paul.malm at lfv.se
Sent: Dienstag, 23. März 2021 08:26
To: gdal-dev at lists.osgeo.org
Subject: [gdal-dev] Gdal Java

Hi list,
is there someone out there who has succeeded in installing Gdal Javabindings in Windows?
I've tried for some weeks now :( and I can't find very much information how to do it I Windows.
gdalalljni.dll is not found for starters (Gdal 3.2.0) but it is there, as installed by the installation process.
I've been asking around on internet, but without any luck.
If these is someone who knows how to do it in Windows with Eclipse, it would be much appreciated to get some info...
It would be nice to have a bullet list (for dummies), from where to get the correct download files, installation, setting environment, what is needed to be set in Eclipse etc. I don't have any experience with javabindings or C++...

Kind regards,
Paul
This email and the information contained herein is proprietary and confidential and subject to the Amdocs Email Terms of Service, which you may review at https://www.amdocs.com/about/email-terms-of-service <https://www.amdocs.com/about/email-terms-of-service>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210324/03ae9bdb/attachment.html>


More information about the gdal-dev mailing list