getting JDBC connection working - Mailing list pgsql-jdbc

From Iain
Subject getting JDBC connection working
Date
Msg-id 000f01c3d996$ad4f8f20$7201a8c0@mst1x5r347kymb
Whole thread Raw
Responses Re: getting JDBC connection working  (Kris Jurka <books@ejurka.com>)
List 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

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: PreparedStatement parameters and mutable objects
Next
From: Kris Jurka
Date:
Subject: Re: getting JDBC connection working