pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guido <lampo.14@iol.it>
To: pgsql-jdbc@postgresql.org
Subject: JDBC Connection
Date: Thu, 8 Nov 2001 21:14:58 +0100
Message-ID: <20011108211458.A1109@localhost> (raw)

Hi everybody, here's my poroblem:

Distibution - RH 7.1
JDK - 1.3.1


I try to connect to the pgsql data base with my application but all I get
it's the following exception
	java.lang.ClassNotFoundException: org.postgresql.Driver
which is thrown by
	Class.forName("org.postgresql.Driver");

I followed the instructions on the Programmer's Guide by exporting

	/usr/java/jdk1.3.1_01/lib/jdbc7.1-1.2.jar (the dir where I've put
the jdbc driver)

to my PATH.
When I echo the PATH I get the correct sequence.

Thanks for all the help you can give me.

Guido




view thread (19+ messages)  latest in thread

Message-ID: <20011108211458.A1109@localhost>
Permalink:  ../20011108211458.A1109@localhost/
Also on:    postgresql.org/message-id/20011108211458.A1109@localhost

 · 

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: lampo.14@iol.it
  Subject: Re: JDBC Connection
  In-Reply-To: <20011108211458.A1109@localhost>
  References: <20011108211458.A1109@localhost>

* 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