pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Leonel <lnunez@gmail.com>
To: Mamoon Rashid <mamoon@imtech.res.in>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: setting CLASSPATH of the jdbc jar file
Date: Thu, 24 May 2007 07:01:55 -0600
Message-ID: <33c54f810705240601o5145bbbbi19bfae02c15b72d9@mail.gmail.com> (raw)
In-Reply-To: <42467.203.90.127.21.1180007106.squirrel@webmail.imtech.res.in>
References: <42467.203.90.127.21.1180007106.squirrel@webmail.imtech.res.in>

On 5/24/07, Mamoon Rashid <mamoon@imtech.res.in> 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



view thread (3+ messages)  latest in thread

Message-ID: <33c54f810705240601o5145bbbbi19bfae02c15b72d9@mail.gmail.com>
Permalink:  ../33c54f810705240601o5145bbbbi19bfae02c15b72d9@mail.gmail.com/
Also on:    postgresql.org/message-id/33c54f810705240601o5145bbbbi19bfae02c15b72d9@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: lnunez@gmail.com, mamoon@imtech.res.in
  Subject: Re: setting CLASSPATH of the jdbc jar file
  In-Reply-To: <33c54f810705240601o5145bbbbi19bfae02c15b72d9@mail.gmail.com>
  References: <42467.203.90.127.21.1180007106.squirrel@webmail.imtech.res.in> <33c54f810705240601o5145bbbbi19bfae02c15b72d9@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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