getting JDBC connection working

From: "Iain" <iain(at)mst(dot)co(dot)jp>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: getting JDBC connection working
Date: 2004-01-13 05:32:46
Message-ID: 000f01c3d996$ad4f8f20$7201a8c0@mst1x5r347kymb
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi All,

This is hopefully a quick question.

Do I need to re-build the postgres installation using the --with-java option
in order to use JDBC? I got the JDBC driver and set the CLASSPATH as per the
docs, but I wasn't clear on whether the --with-java option is still required
given that I downloaded a pre-built driver.

My little test program is currently failing with a ClassNotFoundException
during the call:

Class.forName("org.postgresql.Driver");

Thanks in advance,
Iain

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2004-01-13 05:52:28 Re: getting JDBC connection working
Previous Message Dave Cramer 2004-01-13 02:07:33 Re: PreparedStatement parameters and mutable objects