= Building GDAL/OGR Java Bindings on Linux/Unix = Tested with gdal-1.5.2. == Configure and Build GDAL == I found I had to configure GDAL --without-libtool to get the java bindings to build. == Update java.opt == Replace gdal/swig/java/java.opt with an appropriate local version. Make sure the windows backslashes are turned to forward slashes, and point to your local Java SDK. The ANT_HOME isn't used on linux where it is apparently assumed ant will be in the path. {{{ JAVA_HOME = /home/warmerda/pkg/jdk1.6.0_10 #ANT_HOME=c:\programmi\apache-ant-1.7.0 JAVADOC=$(JAVA_HOME)/bin/javadoc JAVAC=$(JAVA_HOME)/bin/javac JAVA=$(JAVA_HOME)/bin/java JAR=$(JAVA_HOME)/bin/jar JAVA_INCLUDE=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux }}}