Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id C1BEA650E9C for ; Wed, 2 Jul 2008 05:36:46 -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 22830-07 for ; Wed, 2 Jul 2008 05:36:39 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by postgresql.org (Postfix) with ESMTP id BBA5464FD64 for ; Wed, 2 Jul 2008 05:36:41 -0300 (ADT) Received: from [10.1.1.57] (tivv.kiev.zoral.com.ua [10.1.1.57]) (authenticated bits=0) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m628aaF1045112 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 2 Jul 2008 11:36:36 +0300 (EEST) (envelope-from tivvpgsqljdbc@gtech-ua.com) Message-ID: <486B3E13.3020207@gtech-ua.com> Date: Wed, 02 Jul 2008 11:36:35 +0300 From: tivvpgsqljdbc@gtech-ua.com User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 CC: pgsql-jdbc@postgresql.org Subject: Re: JDBC driver not found error: Windows XP / JDK1.6.06 / PG8.2.9 References: <486A4B86.5000208@opencloud.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=4.777 tagged_above=0 required=5 tests=FROM_LOCAL_NOVOWEL=3.196, MISSING_HEADERS=1.581 X-Spam-Level: **** X-Archive-Number: 200807/5 X-Sequence-Number: 18790 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. > 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.