Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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


pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group