Re: The question of jdbc

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: "'runway runable'" <irunable(at)yahoo(dot)com>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: The question of jdbc
Date: 2002-02-01 20:08:33
Message-ID: 008c01c1ab5c$39f40980$8201a8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Can you send the code

Dave

-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of runway runable
Sent: Tuesday, January 29, 2002 12:30 AM
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [JDBC] The question of 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

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Nick Fankhauser 2002-02-01 21:37:13 Re: The question of jdbc
Previous Message Ned Wolpert 2002-02-01 19:42:24 Re: OutOfMemoryError using bytea