[mapserver-users] confused about mapscript java configuration
Umberto Nicoletti
umberto.nicoletti at gmail.com
Fri May 20 00:15:35 PDT 2011
Ahmet,
you gave the wrong param to with-java-include-os-name and usually it is not
necessary to specify anything as it will correctly guess from the
environment.
Try this:
set JAVA_HOME to point to the jdk (NOTE: a full JDK is required, JRE is NOT
enough)
run ./configure (leave with-java-include-os-name out for now)
make
cd mapscript/java
make clean
make
HTH,
Umberto
2011/5/19 ahmet temiz <ahmettemiz88 at gmail.com>
> hello
>
> I think I am confused about mapscript java configuration
>
> I added my configuration file
> --with-java-include-os-name=$JAVA_HOME/include
>
> But It still cannot find "jni.h"
>
> I checked $JAVA_HOME:
>
> orkun at orkun-HP:~$ ls $JAVA_HOME/include/
> classfile_constants.h jawt.h jdwpTransport.h jni.h jvmti.h linux
> // jni.h seems to exist.
>
>
> what might have caused the problem ?
>
> regards
> --
> Ahmet Temiz
> Jeoloji Müh.
> Afet ve Acil Durum Yönetimi Başkanlığı
> Planlama ve Zarar Azaltma Dairesi Başkanlığı
> Bilgi ve CBS grubu
> Eskişehir Yolu 10. km.
> Lodumlu / Ankara
> Tel : 0 312 2872680 / 1535
> ________________________
>
> Ahmet Temiz
> Geological Eng.
> Information Systems - GIS Group
> Disaster and Emergency Management
> of Presidency
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110520/9027e3ed/attachment.htm>
More information about the MapServer-users
mailing list