Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 116EE650E82 for ; Wed, 2 Jul 2008 13:38:59 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 69813-02-7 for ; Wed, 2 Jul 2008 13:38:44 -0300 (ADT) X-Greylist: delayed 00:08:09.043782 by SQLgrey-1.7.6 Received: from outbound.vnet-inc.com (outbound.vnet-inc.com [216.146.104.103]) by postgresql.org (Postfix) with ESMTP id C117E650F0F for ; Wed, 2 Jul 2008 13:38:24 -0300 (ADT) Received: from [192.168.157.32] (unknown [216.129.226.126]) by outbound.vnet-inc.com (Postfix) with ESMTP id 56752580C for ; Wed, 2 Jul 2008 10:30:14 -0600 (MDT) Message-ID: <486BAA98.3010405@ttc-cmc.net> Date: Wed, 02 Jul 2008 10:19:36 -0600 From: dmp User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: JDBC driver not found error: Windows XP / JDK1.6.06 / PG8.2.9 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200807/6 X-Sequence-Number: 18791 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 > 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.