JDBC

The JDBC extensions provide Java objects corresponding to the internal PostGIS types. These objects can be used to write Java clients which query the PostGIS database and draw or do calculations on the GIS data in PostGIS.

  1. Enter the "jdbc" sub-directory of the PostGIS distribution.

  2. Edit the Makefile to provide the correct paths of your java compiler (JAVAC) and interpreter (JAVA).

  3. Run the "make" command. Copy the postgis.jar file to wherever you keep your java libraries.