Re: [INTERFACES] jdbc examples

From: Peter T Mount <peter(at)retep(dot)org(dot)uk>
To: Herouth Maoz <herouth(at)oumail(dot)openu(dot)ac(dot)il>
Cc: Cyril(dot)Ferrand(at)sophia(dot)inria(dot)fr, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] jdbc examples
Date: 1998-07-09 06:22:42
Message-ID: Pine.LNX.3.96.980709072140.1240C-100000@maidast.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)retep(dot)org(dot)uk or petermount(at)earthling(dot)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(at)maidstone(dot)gov(dot)uk

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Giuseppe Tanzilli 1998-07-09 07:48:55 Memo field in MS Access
Previous Message Peter T Mount 1998-07-09 06:21:10 Re: [INTERFACES] Jdbc-Browser and Applet restrictions