From: tivvpgsqljdbc@gtech-ua.com
Cc: pgsql-jdbc@postgresql.org
Subject: Re: JDBC driver not found error: Windows XP / JDK1.6.06 / PG8.2.9
Date: Wed, 02 Jul 2008 11:36:35 +0300
Message-ID: <486B3E13.3020207@gtech-ua.com> (raw)
In-Reply-To: <fbf9dcc60807010928j72fa3376if10f2835a66e7895@mail.gmail.com>
References: <fbf9dcc60807010628m51d7ede2lb3b4ac0732593726@mail.gmail.com>
<486A4B86.5000208@opencloud.com>
<fbf9dcc60807010928j72fa3376if10f2835a66e7895@mail.gmail.com>
Chandra ASGI Tech написав(ла):
> On Tue, Jul 1, 2008 at 11:21 AM, Oliver Jowett <oliver@opencloud.com
> <mailto:oliver@opencloud.com>> wrote:
>
> Chandra ASGI Tech wrote:
>
> But I get the error
> Exception in thread "main" java.lang.NoClassDefFoundError:
> postgreSQLTest
>
>
> Your code isn't even running because the JVM can't find your main
> class. This isn't anything to do with JDBC, it's basic Java.
>
> -O
>
>
> HI, the error message seems so, but Java does work - i tested with a
> simple hello world program and it worked. So i do not think it is a
> problem with the JVM - but am not able to understand what the error is.
>
I suppose you did not add "." to your classpath when specifying it. Try
without classpath to see if error change. Then ensure you've got correct
classpath.
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: tivvpgsqljdbc@gtech-ua.com
Subject: Re: JDBC driver not found error: Windows XP / JDK1.6.06 / PG8.2.9
In-Reply-To: <486B3E13.3020207@gtech-ua.com>
References: <fbf9dcc60807010628m51d7ede2lb3b4ac0732593726@mail.gmail.com> <486A4B86.5000208@opencloud.com> <fbf9dcc60807010928j72fa3376if10f2835a66e7895@mail.gmail.com> <486B3E13.3020207@gtech-ua.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