Re: JDBC Connection

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: "'Guido'" <lampo(dot)14(at)iol(dot)it>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: JDBC Connection
Date: 2001-11-09 19:21:07
Message-ID: 025c01c16953$af11dcb0$c201a8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Guido,

One way to get around the classpath issue is to put the jar into your
javahome/jre/lib/ext directory. By default all jars in this directory
will be accessible to your apps

So in your case there s/b a directory /usr/java/jdk1.3.1_01/jre/lib/ext

If you put the jar there it s/b available to your application

Dave

-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of Guido
Sent: November 9, 2001 11:42 AM
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [JDBC] JDBC Connection

First of all I'd like to thank everybody for the "pronto" help.
But the problem is that
1. My shell doesn't have an enviroment variable called CLASSPATH;
2. I, then, tried to edit my .profile file, by adding the variable to
it,
i.e.
CLASSPATH=/usr/java/jdk1.3.1_01/lib/jdbc7.1-1.2.jar
export PATH CLASSPATH
but, still doesn't work.
3. When I run the application in the Forte 3 enviroment, it works
perfectly, but that becuase the IDE requires to copy the driver to the
IDE's directory.
4. I use the same enviroment for developing and running the application.
Thanks again.

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jayesh K. Parayali 2001-11-09 19:55:33 Re: JDBC inserts on views using rules
Previous Message Barry Lind 2001-11-09 19:20:24 Re: JDBC inserts on views using rules