Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 593879FB900 for ; Thu, 24 May 2007 09:18:42 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 30657-05-2 for ; Thu, 24 May 2007 09:18:39 -0300 (ADT) X-Greylist: delayed 00:27:30.153512 by SQLgrey-1.7.5 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 44D619FBA5D for ; Thu, 24 May 2007 09:18:39 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from webmail.imtech.res.in (unknown [59.160.112.41]) by svr4.postgresql.org (Postfix) with ESMTP id 992E55AF025 for ; Thu, 24 May 2007 11:51:06 +0000 (GMT) Received: from webmail.imtech.res.in (localhost [127.0.0.1]) by webmail.imtech.res.in (8.13.1/8.13.1) with ESMTP id l4OBj6M1030523 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 24 May 2007 17:15:07 +0530 Received: (from apache@localhost) by webmail.imtech.res.in (8.13.1/8.13.1/Submit) id l4OBj6P3030519; Thu, 24 May 2007 17:15:06 +0530 From: Mamoon Rashid X-Authentication-Warning: webmail.imtech.res.in: apache set sender to mamoon@imtech.res.in using -f Received: from 203.90.127.21 (proxying for 172.141.127.57) (SquirrelMail authenticated user mamoon) by webmail.imtech.res.in with HTTP; Thu, 24 May 2007 17:15:06 +0530 (IST) Message-ID: <42467.203.90.127.21.1180007106.squirrel@webmail.imtech.res.in> Date: Thu, 24 May 2007 17:15:06 +0530 (IST) Subject: setting CLASSPATH of the jdbc jar file To: pgsql-jdbc@postgresql.org User-Agent: SquirrelMail/1.4.6-7.el4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.136 tagged_above=0 required=5 tests=BAYES_50=0.001, FORGED_RCVD_HELO=0.135 X-Spam-Level: X-Archive-Number: 200705/55 X-Sequence-Number: 17045 hi all, i am a newbie using jdbc interface to postgresql. Information about the machine and pgsql server- 1. system: OS:Enterprise Lnux 4, Server:Apache2 2. PostgreSql 7.4.6 Please tell me that at which prompt(either as a root or postgres user) i can set CLASSPATH. my jdbc jar file is in /usr/share/java/pg74.215.jdbc3.jar. i tried as root as well as postgres user and applied following command: export CLASSPATH=/usr/share/java/pg74.215.jdbc3.jar:${CLASSPATH} After that i looked it with "env" command.it looked well. but when i exit and reenturned into root as well as postgres user and typed "env" i couldnt see "CLASSPATH=/usr/share/java/pg74.215.jdbc3.jar". please suggest how to set classpath and save it. waiting anxiously with regard mamoon.