From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Exception Error - Please help I've tried everything!
Date: Mon, 27 Nov 2006 14:01:34 +0200
Message-ID: <200611271401.34947.achill@matrix.gatewaynet.com> (raw)
In-Reply-To: <9bc001470611270329i429b2f18q40dfe76a97f102ce@mail.gmail.com>
References: <9bc001470611252348l5fd9f93fx2c1a0d45b2c082bb@mail.gmail.com>
<456AC056.7040807@in.tum.de>
<9bc001470611270329i429b2f18q40dfe76a97f102ce@mail.gmail.com>
Óôéò ÄåõôÝñá 27 ÍïÝìâñéïò 2006 13:29, ï/ç Greg Peters Ýãñáøå:
> Thank you very much. That did it! Many thanks to all of you for your help!
> I also got it to work in NB, with some fiddling. It turns out I didn't add
> the library to the project properly. Thanks guys. I was just about to give
> up on java and have a go at python!
>
> Can someone explain why the .; is necessary at all?
PostgresqlClient.class lies in your current directory ("."),
and adding the "." directory to the class path makes java
aware of all classes in the "." "package".
java will not assume you always want to have your current dir
in your classpath, and hence the need for the explicit ".".
>
> Cheers,
>
> Greg
>
> On 11/27/06, Sebastian Esch <esch@in.tum.de> wrote:
> > Hi Greg!
> >
> > Try "java -cp .;postgresql.jar PostgresqlClient"
> >
> > On Windows the separator char for the classpath is ; not :. And it works
> > for me only if the . is the first element of the classpath.
--
Achilleas Mantzios
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: achill@matrix.gatewaynet.com
Subject: Re: Exception Error - Please help I've tried everything!
In-Reply-To: <200611271401.34947.achill@matrix.gatewaynet.com>
References: <9bc001470611252348l5fd9f93fx2c1a0d45b2c082bb@mail.gmail.com> <456AC056.7040807@in.tum.de> <9bc001470611270329i429b2f18q40dfe76a97f102ce@mail.gmail.com> <200611271401.34947.achill@matrix.gatewaynet.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