Errors Trying To Use JDBC

From: Corey Mosher <corey(at)pgsql(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Errors Trying To Use JDBC
Date: 2001-04-16 13:49:30
Message-ID: Pine.BSF.4.21.0104161047140.22097-100000@wired.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)hub(dot)org
Phone: (902) 542-3657
-----------------------------
PostgreSQL, Inc.
251 Main St.
Wolfville, NS
Canada
B0P 1X0
Email: corey(at)pgsql(dot)com
Phone: (902) 542-0713
-----------------------------
Fax: (902) 542-5386

Browse pgsql-jdbc by date

  From Date Subject
Next Message Corey Mosher 2001-04-16 19:35:39 Re: Errors Trying To Use JDBC
Previous Message chris markiewicz 2001-04-16 13:23:06 RE: [JDBC] RE: fastpath error?