Re: JDBC Connection - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: JDBC Connection
Date
Msg-id 025c01c16953$af11dcb0$c201a8c0@inspiron
Whole thread Raw
In response to Re: JDBC Connection  (Guido <lampo.14@iol.it>)
List 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@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Guido
Sent: November 9, 2001 11:42 AM
To: pgsql-jdbc@postgresql.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@postgresql.org)



pgsql-jdbc by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: MD5-based passwords
Next
From: Barry Lind
Date:
Subject: Re: Constant "JTable" update