Re: JDBC driver not found error: Windows XP / JDK1.6.06 / PG8.2.9

From: tivvpgsqljdbc(at)gtech-ua(dot)com
To:
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JDBC driver not found error: Windows XP / JDK1.6.06 / PG8.2.9
Date: 2008-07-02 08:36:35
Message-ID: 486B3E13.3020207@gtech-ua.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Chandra ASGI Tech написав(ла):
> On Tue, Jul 1, 2008 at 11:21 AM, Oliver Jowett <oliver(at)opencloud(dot)com
> <mailto:oliver(at)opencloud(dot)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.

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message dmp 2008-07-02 16:19:36 Re: JDBC driver not found error: Windows XP / JDK1.6.06 / PG8.2.9
Previous Message Chandra ASGI Tech 2008-07-01 16:28:44 Re: JDBC driver not found error: Windows XP / JDK1.6.06 / PG8.2.9