The question of jdbc

From: runway runable <irunable(at)yahoo(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: The question of jdbc
Date: 2002-01-29 05:30:02
Message-ID: 20020129053002.67603.qmail@web12208.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Dear sir
I'm interesting to use the PostgreSQL. In my
concept, I have 2 server in a RedHat 7.2. The one is a
webserver and the later is a dataserver. I read the
document of PostgreSQL JDBC and practic it. It
doesn't work .
The Fist method: In mye webserver, I install the
J2SDK1.4.0, the Tomcat-3.2.3.1noarch, a
PostgreSQL-7.1.3-2 and the PostgresSQL-JDBC-7.1.3-2.
By the way, I setup Path and ClassPath in the
.bash_profile :
JAVA_HOME=/usr/java/j2sdk1.4.0
JDBC_HOME=/usr/share/pgsql/

PATH=$PATH:${JAVA_HOME}/bin
CLASSPATH=$CLASSPATH:${JAVA_HOME}/lib:${JDBC_HOME}/lib/jdbc7.1-1.2.jar
and I write to a sample.java for test programe.When I
use javac to compile :
javac sample.java --- is complete and then I use java
to run this programe:
java sample ---- is message
Excepton caught.
java.loang.ClassNotFoundException:
org.postgresql.Driver
Please you tell me about this problem.

The second method to make a postgresql.jar : In my
dataserve, I install is a PostgreSQL server, Java and
Ant. When I build a drive. It can not to mak a
postgresql.jar. Please you make this file to me and
tell me about detail it.
And I hope you to help me. Sincerity

__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Robert Tyler Retzlaff 2002-01-29 15:04:26 OutOfMemoryError using bytea
Previous Message Tony DeWitt 2002-01-28 22:44:48 Re: JDBC batching