Errors Trying To Use JDBC - Mailing list pgsql-jdbc

From Corey Mosher
Subject Errors Trying To Use JDBC
Date
Msg-id Pine.BSF.4.21.0104161047140.22097-100000@wired.hub.org
Whole thread Raw
List pgsql-jdbc
Hi,
  When I try to use the postgresql.jar I get the following error:

> java sample
Exception caught.
java.lang.ClassNotFoundException: org.postgresql.Driver
java.lang.ClassNotFoundException: org.postgresql.Driver
        at sample.<init>(sample.java:10)
        at sample.main(sample.java:38)

Here is my classpath:

set CLASSPATH = ($CLASSPATH /usr/local/lib/postgresql.jar .)

Anyone have any ideas here?

Thanks

Corey Mosher

-----------------------------
Hub.Org Networking Services
251 Main St.
Wolfville, NS
Canada
B0P 1X0
Email: corey@hub.org
Phone: (902) 542-3657
-----------------------------
PostgreSQL, Inc.
251 Main St.
Wolfville, NS
Canada
B0P 1X0
Email: corey@pgsql.com
Phone: (902) 542-0713
-----------------------------
Fax:   (902) 542-5386


pgsql-jdbc by date:

Previous
From: "chris markiewicz"
Date:
Subject: RE: RE: fastpath error?
Next
From: Corey Mosher
Date:
Subject: Re: Errors Trying To Use JDBC