Just for the record, it is not sufficient to have the DLL in the class path 
(actually this is not required at all).
The DLLs need to be on the application's search path.

The details can be found here:
http://www.chilkatsoft.com/java-loadLibrary-Windows.asp

Regards,
Stefan

> -----Original Message-----
> From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-
> boun...@lists.osgeo.org] On Behalf Of Imran Rajjad
> Sent: Wednesday, October 10, 2012 11:26
> To: Wael Tarhouni
> Cc: gdal-dev@lists.osgeo.org
> Subject: Re: [gdal-dev] Problem with Gdal/ogr Java
> 
> Hi Wael.
> 
> you need to use gdal.jar file in your java project and also include
> the required DLL(Win) in your class path, then  you will be able to
> use GDAL in your Java project.
> 
> download from http://www.gisinternals.com/sdk/ or
> http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries
> 
> look for GDAL.JAR and the required DLL files in installed folder.
> 
> regards,
> Imran
> 
> On Wed, Oct 10, 2012 at 2:02 PM, Wael Tarhouni <waelin...@gmail.com>
> wrote:
> > Good Morning,
> >
> > I'm newbie in Gdal/ogr and i'm working actually with ogr2ogr Api to import
> > .TAB file(Mapinfo) into a postgis database, but i wanna make it automatic
> > without typing in command line or executing bat files. So, i found this
> > source code with gdal/ogr library :
> >
> http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps/ogr2ogr.java
> > but it doesn't  work, is there any jar file of gdal/ogr to download ?
> >
> > Best regards
> >
> > --
> > Wael Tarhouni
> > Élève ingénieur en Réseaux informatiques et Télecommunication à l'INSAT
> >
> >
> > _______________________________________________
> > gdal-dev mailing list
> > gdal-dev@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/gdal-dev
> 
> 
> 
> --
> I.R
> _______________________________________________
> gdal-dev mailing list
> gdal-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
Actix is the trading name of Actix Limited, with registered offices at: 
200 Hammersmith Road, London, W6 7DL, United Kingdom. 
Actix Limited is registered in England and Wales with company no. 
02660615 and VAT no. GB 858742087. Managing Director of Actix Limited: Bill 
McHale.

Actix GmbH is registered in (Sitz der Gesellschaft): Dresden, Germany with 
company no. Handelsregister Amtsgericht Dresden 
HR B 19204 and VAT no. (Ust-IDNr.) DE 813 115 475. Managing 
Director of Actix GmbH (Geschaeftsfuehrer): Bill McHale. 

Information in this message is confidential and may be legally 
privileged. If you are not the intended recipient, please notify the 
sender, and please delete the message from your system 
immediately.  The statements and opinions expressed in this 
message are those of the author and do not necessarily reflect 
those of Actix. 

Whilst Actix takes every effort to ensure this message is virus 
free it cannot guarantee that this is the case. It is the 
recipient's responsibility to carry out such virus checks as 
it deems necessary
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to