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 <ahmettemi...@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@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@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users >
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users