Are you sure the PostgreSQL JDBC driver is in the jsdk directory
jdk/jre/lib/ext/?
danap
> 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.