pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedJDBC connection Problem
3+ messages / 3 participants
[nested] [flat]
* JDBC connection Problem
@ 2001-01-30 14:53 juksanee <jvsair@fml.t.u-tokyo.ac.jp>
0 siblings, 0 replies; 3+ messages in thread
From: juksanee @ 2001-01-30 14:53 UTC (permalink / raw)
To: pgsql-interfaces
Dear Sir,
I try to run the Java Program by using JDBC PostgreSql. It can run under
only
/usr/local/pgsql/src/src/interfaces/jdbc but it can't run under other
directories ...
How should I do ? Plese advice me for this problem
Thanks you
Juksanee Virulsri
^ permalink raw reply [nested|flat] 3+ messages in thread
* JDBC Connection Problem
@ 2001-01-31 05:09 v j <jvs_a@yahoo.com>
2001-01-31 08:30 ` Re: JDBC Connection Problem Peter T Mount <peter@retep.org.uk>
0 siblings, 1 reply; 3+ messages in thread
From: v j @ 2001-01-31 05:09 UTC (permalink / raw)
To: pgsql-interfaces
Dear Sir,
I try to run the Java Program by using JDBC
PostgreSql. It can run under
only
/usr/local/pgsql/src/src/interfaces/jdbc but it can't
run under other directories ...
How should I do ? Plese advice me for this problem
Thanks you
J. V.
__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: JDBC Connection Problem
2001-01-31 05:09 JDBC Connection Problem v j <jvs_a@yahoo.com>
@ 2001-01-31 08:30 ` Peter T Mount <peter@retep.org.uk>
0 siblings, 0 replies; 3+ messages in thread
From: Peter T Mount @ 2001-01-31 08:30 UTC (permalink / raw)
To: v j <jvs_a@yahoo.com>; +Cc: pgsql-interfaces; pgsql-jdbc@postgresql.org
Quoting v j <jvs_a@yahoo.com>:
redirected to the jdbc list:
> Dear Sir,
> I try to run the Java Program by using JDBC
> PostgreSql. It can run under
> only
> /usr/local/pgsql/src/src/interfaces/jdbc but it can't
> run under other directories ...
Yes it can, as long as you put it into your CLASSPATH.
ie, when built, you should find a file called postgresql.jar (named differently
if you download from the websites).
Say you copy it into say, /usr/local/lib. Then add the jar file to the
classpath, ie:
CLASSPATH=/usr/local/lib/postgresql.jar:$CLASSPATH
Then when your application loads the driver, it will get it from that location.
Peter
--
Peter Mount peter@retep.org.uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2001-01-31 08:30 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-01-30 14:53 JDBC connection Problem juksanee <jvsair@fml.t.u-tokyo.ac.jp>
2001-01-31 05:09 JDBC Connection Problem v j <jvs_a@yahoo.com>
2001-01-31 08:30 ` Re: JDBC Connection Problem Peter T Mount <peter@retep.org.uk>
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