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.
On Tue, Feb 9, 2016 at 12:58 PM ssaniev <ssan...@gmail.com> wrote: > Hi Justin, > > Coding in java Windows7/Eclipse/spring/maven. > > *As told before, added dependency to pom, and see the gdal-2.0.0.jar in > maven dependencies and able to import to my java class.* > <dependency> > <groupId>org.gdal</groupId> > <artifactId>gdal</artifactId> > <version>2.0.0</version> > </dependency> > > > I downloaded the libraries from here: > > http://download.gisinternals.com/sdk/downloads/release-1800-x64-gdal-1-11-3-mapserver-6-4-2.zip > > unzippped... and added the both paths below to my environment PATH > variable: > ..\Downloads\release-1800-x64-gdal-1-11-3-mapserver-6-4-2\bin > ..\Downloads\release-1800-x64-gdal-1-11-3-mapserver-6-4-2\bin\gdal\java > > Created another environment variable > > GDAL_DATA=..\Downloads\release-1800-x64-gdal-1-11-3-mapserver-6-4-2\bin\gdal-data > > Inside Eclipse, added a VM argument to my project runtume: > > -Djava.library.path="..\workspace\GISDataDirectory\release-1800-x64-gdal-1-11-3-mapserver-6-4-2\bin\gdal\java\;${env_var:PATH}" > > > > *And after all this, I am getting a different related error:* > > Native library load failed. > java.lang.UnsatisfiedLinkError: > > ..\workspace\GISDataDirectory\release-1800-x64-gdal-1-11-3-mapserver-6-4-2\bin\gdal\java\gdaljni.dll: > The specified procedure could not be found > > nested exception is java.lang.UnsatisfiedLinkError: > org.gdal.gdal.gdalJNI.VersionInfo__SWIG_1()Ljava/lang/String;] with root > cause > > > What am I missing here? > > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/Native-library-load-failed-while-using-gdal-maven-dependency-UnsatisfiedLinkError-tp5249728p5249767.html > Sent from the GDAL - Dev mailing list archive at Nabble.com. > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev