Re: CLASS EXCEPTION org.postgresql.Driver - Mailing list pgsql-jdbc

From Markus Schaber
Subject Re: CLASS EXCEPTION org.postgresql.Driver
Date
Msg-id 44B65F9C.40706@logix-tt.com
Whole thread Raw
In response to CLASS EXCEPTION org.postgresql.Driver  ("Folorunsho, Abayomi" <afolorunsho@cenbank.org>)
List pgsql-jdbc
Hi, Abayomi,

Folorunsho, Abayomi wrote:
> As advised, I copied postgresql-8.1-405.jdbc3.jar from C:\Program
> Files\PostgreSQL\8.1\jdbc to my class path and the name of the file
> included in my environment variable definition:

> classpath\postgresql-8.1-405.jdbc3.jar;
> when this did not work, I added the whole jdbc folder to my class path:
> C:\Program Files\PostgreSQL\8.1\jdbc

Try giving the full path of the jar file to the -cp command line
argument to your JVM.


Alternatively, for most cases it works if you copy the jdbc.jar into the
lib/ext/ directory of your JRE/JDK.

HTH,
Markus


--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org

pgsql-jdbc by date:

Previous
From: Ricardo Vaz Mannrich
Date:
Subject: PostgreSQL array vs. JDBC vs. Hibernate
Next
From: "System Consult"
Date:
Subject: password authentication failure