Re: [INTERFACES] jdbc examples - Mailing list pgsql-interfaces

From Peter T Mount
Subject Re: [INTERFACES] jdbc examples
Date
Msg-id Pine.LNX.3.96.980709072140.1240C-100000@maidast.retep.org.uk
Whole thread Raw
In response to Re: [INTERFACES] jdbc examples  (Herouth Maoz <herouth@oumail.openu.ac.il>)
List pgsql-interfaces
On Wed, 8 Jul 1998, Herouth Maoz wrote:

> At 15:00 +0300 on 8/7/98, Cyril FERRAND wrote:
>
>
> > PostgreSQL basic test v6.3 rev 1
> >
> > Exception caught.
> > java.lang.ClassNotFoundException: postgresql.Driver
> > java.lang.ClassNotFoundException: postgresql.Driver
> >         at example.monbasic.<init>(monbasic.java:20)
> >         at example.monbasic.main(monbasic.java:67)
>
> I think you don't have the postgresql.jar archive in your classpath. You
> should have the jar itself, not just its directory, as part of the
> CLASSPATH variable.

Yes, ideally, only the jar file should be included in the classpath.

If the extracted class files were used, then the parent directory of the
postgresql directory needs to be in the classpath.

--
Peter T Mount peter@retep.org.uk or petermount@earthling.net
Main Homepage: http://www.retep.org.uk
************ Someday I may rebuild this signature completely ;-) ************
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk


pgsql-interfaces by date:

Previous
From: Peter T Mount
Date:
Subject: Re: [INTERFACES] Jdbc-Browser and Applet restrictions
Next
From: Giuseppe Tanzilli
Date:
Subject: Memo field in MS Access