Fwd: [gdal-dev] GDAL and JAVA
even.rouault at mines-paris.org
Thu Apr 1 02:27:06 EDT 2010
you can copy&paste the text content of a windows console (in the contextual
menu opened by clicking in the top-left icon of the windows console), no need
to take a picture snapshot. And as the picture is truncated, it is difficult
to tell exactly what is wrong...
My guess is you should check your java.opt
By default, it is written for Linux builds :
So, if you've not already done it, for a windows build, you should take care
of changing this line to :
Le Thursday 01 April 2010 03:31:59 GongYing Hsu, vous avez écrit :
> Thank you,but I have a problem when I do the step 7 of
> *7. Compile GDAL's Java bindings*
> a. Run MSVC's vcvars32.bat
> b. In *<gdal-dir>*\swig\java, edit the java.opt file pointing it to your
> correct JDK and ant locations.
> c. In *<gdal-dir>*\swig, run "nmake -f makefile.vc java".
> It got some error,and I took the error as a picture in the attachment.
> Could you teach me how to solve it???
> Thank you very much.
> zeng <xiaoxxcool at 163.com> 於 2010年3月31日下午11:06 �道：
> if you are using windows, put all the *.dll files to $JAVA_HOME/bin/,
> > gdal.jar to $JAVA_HOME/jre/lib/ext/, and add $JAVA_HOME/bin to your
> > system path. It will work.
> > 在2010-03-31 14:25:31，"GongYing Hsu" <gongyinghsu at gmail.com> 写道：
> > Excuse me!
> > Is there has any tutorial about GDAL for JAVA?
> > What I use is JDK 1.6 and gdal1.7.1. So how do I set up the GDAL for
> > JAVA?? Thank you very much.
More information about the gdal-dev