<orderedlist>
<listitem>
- <para>Enter the <filename>jdbc</filename> sub-directory of the
+ <para>Enter the <filename>java/jdbc</filename> sub-directory of the
PostGIS distribution.</para>
</listitem>
<listitem>
- <para>Edit the <filename>Makefile</filename> to provide the correct
- paths of your java compiler (<varname>JAVAC</varname>) and
- interpreter (<varname>JAVA</varname>).</para>
- </listitem>
-
- <listitem>
- <para>Run the <filename>make</filename> command. Copy the
+ <para>Run the <filename>ant</filename> command. Copy the
<filename>postgis.jar</filename> file to wherever you keep your java
libraries.</para>
</listitem>
- </orderedlist>
+ </orderedlist>
+
+ <para>The JDBC extensions require a PostgreSQL JDBC driver to be present in
+ the current CLASSPATH during the build process. If the PostgreSQL JDBC driver
+ is located elsewhere, you may pass the location of the JDBC driver JAR separately
+ using the -D parameter like this:</para>
+
+ <programlisting># ant -Dclasspath=/path/to/postgresql-jdbc.jar</programlisting>
+
+ <para>PostgreSQL JDBC drivers can be downloaded from
+ <ulink url="http://jdbc.postgresql.org">http://jdbc.postgresql.org</ulink>.</para>
</sect1>
<sect1>