Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group