pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: enrique.ibarra@mac.com
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Problems loading the driver
Date: Sat, 25 Jun 2005 17:22:41 +1200
Message-ID: <42BCEA21.6040100@opencloud.com> (raw)
In-Reply-To: <1836DA42-89E0-486D-8DB3-A4715AD0F81F@mac.com>
References: <1836DA42-89E0-486D-8DB3-A4715AD0F81F@mac.com>

enrique.ibarra@mac.com wrote:

> The JDBC jar file IS in the CLASSPATH environment variable. The code of
> the program is the following:

> org.postgresql.Driver
> java.lang.ClassNotFoundException: org.postgresql.Driver

This means that the driver jar *isn't* in your classpath.

What is the exact value of your CLASSPATH, have you exported the
CLASSPATH environment variable, where have you placed the driver jar,
and what is the Java command line you are trying?

-O



view thread (3+ messages)  latest in thread

Message-ID: <42BCEA21.6040100@opencloud.com>
Permalink:  ../42BCEA21.6040100@opencloud.com/
Also on:    postgresql.org/message-id/42BCEA21.6040100@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, enrique.ibarra@mac.com
  Subject: Re: Problems loading the driver
  In-Reply-To: <42BCEA21.6040100@opencloud.com>
  References: <1836DA42-89E0-486D-8DB3-A4715AD0F81F@mac.com> <42BCEA21.6040100@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox