Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id C7F7D9FBC11 for ; Thu, 24 May 2007 10:02:07 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 04635-07 for ; Thu, 24 May 2007 10:01:57 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by postgresql.org (Postfix) with ESMTP id 7B9559FBD2D for ; Thu, 24 May 2007 10:01:57 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id u2so34048uge for ; Thu, 24 May 2007 06:01:55 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=N53NFy11e4fBkkpeQoh8KzF79B6y7DLxKQg2VcUfaTxTA43Y/Rf6IyAbQkFjC2gGiu7W3X/3stffT1INyMrZWe3gTSXfMnNNbR36lZxuJJvug20Ah9TjZ+ph0Bn1dY6twSrPEyUNapCy9pJ16zVz4pSn/J/MJJqIY2vu2Tuk8fI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qDkQulnpv53RnGs5VKV1PhE13SM7TDEt42VEAzboTg9V/W8ua79iG2M77jVuiRuTTziBq9EsC0Xfw1tM5F1SDcIfkRCajSOJ8z3GXleDuKLVjHrfnvfvc0vrwRu7Q003oc5JsOEwzm+OPE5ATrXRPnhczuYKbJfdnS4kTXltSQE= Received: by 10.82.100.1 with SMTP id x1mr3196156bub.1180011715062; Thu, 24 May 2007 06:01:55 -0700 (PDT) Received: by 10.82.134.7 with HTTP; Thu, 24 May 2007 06:01:55 -0700 (PDT) Message-ID: <33c54f810705240601o5145bbbbi19bfae02c15b72d9@mail.gmail.com> Date: Thu, 24 May 2007 07:01:55 -0600 From: Leonel To: "Mamoon Rashid" Subject: Re: setting CLASSPATH of the jdbc jar file Cc: pgsql-jdbc@postgresql.org In-Reply-To: <42467.203.90.127.21.1180007106.squirrel@webmail.imtech.res.in> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <42467.203.90.127.21.1180007106.squirrel@webmail.imtech.res.in> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/57 X-Sequence-Number: 17047 On 5/24/07, Mamoon Rashid wrote: > 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. > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend > put that export in /etc/profile then logout login to get the changes -- Leonel