pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <Dave@micro-automation.net>
To: 'Guido' <lampo.14@iol.it>
To: pgsql-jdbc@postgresql.org
Subject: Re: JDBC Connection
Date: Fri, 9 Nov 2001 14:21:07 -0500
Message-ID: <025c01c16953$af11dcb0$c201a8c0@inspiron> (raw)
In-Reply-To: <20011109174159.A1159@localhost>

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)





view thread (19+ messages)  latest in thread

Message-ID: <025c01c16953$af11dcb0$c201a8c0@inspiron>
Permalink:  ../025c01c16953$af11dcb0$c201a8c0@inspiron/
Also on:    postgresql.org/message-id/025c01c16953$af11dcb0$c201a8c0@inspiron

 · 

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: Dave@micro-automation.net, lampo.14@iol.it
  Subject: Re: JDBC Connection
  In-Reply-To: <025c01c16953$af11dcb0$c201a8c0@inspiron>
  References: <20011109174159.A1159@localhost> <025c01c16953$af11dcb0$c201a8c0@inspiron>

* 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