Changes between Initial Version and Version 1 of GdalOgrInJavaBuildInstructionsUnix


Ignore:
Timestamp:
May 27, 2008, 1:29:37 PM (16 years ago)
Author:
warmerdam
Comment:

preliminary

Legend:

Unmodified
Added
Removed
Modified
  • GdalOgrInJavaBuildInstructionsUnix

    v1 v1  
     1= Building GDAL/OGR Java Bindings on Linux/Unix =
     2
     3Tested with gdal-1.5.2.
     4
     5== Configure and Build GDAL ==
     6
     7I found I had to configure GDAL --without-libtool to get the java bindings to build.
     8
     9== Update java.opt ==
     10
     11Replace 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.
     12
     13{{{
     14JAVA_HOME = /home/warmerda/pkg/jdk1.6.0_10
     15#ANT_HOME=c:\programmi\apache-ant-1.7.0
     16JAVADOC=$(JAVA_HOME)/bin/javadoc
     17JAVAC=$(JAVA_HOME)/bin/javac
     18JAVA=$(JAVA_HOME)/bin/java
     19JAR=$(JAVA_HOME)/bin/jar
     20JAVA_INCLUDE=-I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux
     21}}}
     22