<div dir="ltr">Looks like you have everything configured properly. I have seen reports from users having issue with using a gdal jar compiled on a different system. I’ve never seen that personally but from what I understand the solution in that case was to just compile the java (and the rest of the gdal libs) themselves locally. <br><br><div class="gmail_quote"><div dir="ltr">On Tue, Feb 9, 2016 at 12:58 PM ssaniev <<a href="mailto:ssaniev@gmail.com">ssaniev@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Justin,<br>
<br>
Coding in java Windows7/Eclipse/spring/maven.<br>
<br>
*As told before, added dependency to pom, and see the gdal-2.0.0.jar in<br>
maven dependencies and able to import to my java class.*<br>
<dependency><br>
<groupId>org.gdal</groupId><br>
<artifactId>gdal</artifactId><br>
<version>2.0.0</version><br>
</dependency><br>
<br>
<br>
I downloaded the libraries from here:<br>
<a href="http://download.gisinternals.com/sdk/downloads/release-1800-x64-gdal-1-11-3-mapserver-6-4-2.zip" rel="noreferrer" target="_blank">http://download.gisinternals.com/sdk/downloads/release-1800-x64-gdal-1-11-3-mapserver-6-4-2.zip</a><br>
<br>
unzippped... and added the both paths below to my environment PATH variable:<br>
..\Downloads\release-1800-x64-gdal-1-11-3-mapserver-6-4-2\bin<br>
..\Downloads\release-1800-x64-gdal-1-11-3-mapserver-6-4-2\bin\gdal\java<br>
<br>
Created another environment variable<br>
GDAL_DATA=..\Downloads\release-1800-x64-gdal-1-11-3-mapserver-6-4-2\bin\gdal-data<br>
<br>
Inside Eclipse, added a VM argument to my project runtume:<br>
-Djava.library.path="..\workspace\GISDataDirectory\release-1800-x64-gdal-1-11-3-mapserver-6-4-2\bin\gdal\java\;${env_var:PATH}"<br>
<br>
<br>
<br>
*And after all this, I am getting a different related error:*<br>
<br>
Native library load failed.<br>
java.lang.UnsatisfiedLinkError:<br>
..\workspace\GISDataDirectory\release-1800-x64-gdal-1-11-3-mapserver-6-4-2\bin\gdal\java\gdaljni.dll:<br>
The specified procedure could not be found<br>
<br>
nested exception is java.lang.UnsatisfiedLinkError:<br>
org.gdal.gdal.gdalJNI.VersionInfo__SWIG_1()Ljava/lang/String;] with root<br>
cause<br>
<br>
<br>
What am I missing here?<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Native-library-load-failed-while-using-gdal-maven-dependency-UnsatisfiedLinkError-tp5249728p5249767.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/Native-library-load-failed-while-using-gdal-maven-dependency-UnsatisfiedLinkError-tp5249728p5249767.html</a><br>
Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></blockquote></div></div>