JDBC Connection

From: Guido <lampo(dot)14(at)iol(dot)it>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: JDBC Connection
Date: 2001-11-08 20:14:58
Message-ID: 20011108211458.A1109@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jean-Christophe ARNU 2001-11-08 21:38:35 Constant "JTable" update
Previous Message Ned Wolpert 2001-11-08 19:51:00 Re: MD5-based passwords