Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 6443B9FB1F8 for ; Mon, 27 Nov 2006 07:29:21 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 39289-05 for ; Mon, 27 Nov 2006 07:29:08 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by postgresql.org (Postfix) with ESMTP id 7EDBF9FB1F2 for ; Mon, 27 Nov 2006 07:29:12 -0400 (AST) Received: by wx-out-0506.google.com with SMTP id i28so1595951wxd for ; Mon, 27 Nov 2006 03:29:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=DYiQzCZ9yNZOTgwaFe3IPdZLx9j/+RkCh7HGvLeVjIpIthMZvo1ApeYL5w8V8DsEiSXk4CWyfYcRY/IpNOEoJbnWou5S5p9DzW/AVT6pr0Ck/0sObMqeX6u/ni1ZasXBQA5Ak97IXq1iQLfOBxxwsdo1W2RI+zyLgQPLpDirRWA= Received: by 10.90.118.12 with SMTP id q12mr9676963agc.1164626951475; Mon, 27 Nov 2006 03:29:11 -0800 (PST) Received: by 10.90.86.1 with HTTP; Mon, 27 Nov 2006 03:29:11 -0800 (PST) Message-ID: <9bc001470611270329i429b2f18q40dfe76a97f102ce@mail.gmail.com> Date: Mon, 27 Nov 2006 21:29:11 +1000 From: "Greg Peters" To: pgsql-jdbc@postgresql.org Subject: Re: Exception Error - Please help I've tried everything! In-Reply-To: <456AC056.7040807@in.tum.de> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_136217_26720502.1164626951362" References: <9bc001470611252348l5fd9f93fx2c1a0d45b2c082bb@mail.gmail.com> <883e44790611260746h5b75162eue52207ee6505e2a7@mail.gmail.com> <9bc001470611261521m6c8d2f6nec6cb8b6726385d8@mail.gmail.com> <9bc001470611270043p36c00a1eu89754a46e26c58f3@mail.gmail.com> <456AC056.7040807@in.tum.de> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/132 X-Sequence-Number: 16174 ------=_Part_136217_26720502.1164626951362 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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? Cheers, Greg On 11/27/06, Sebastian Esch 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. > > ------=_Part_136217_26720502.1164626951362 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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?
 
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.

------=_Part_136217_26720502.1164626951362--