Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f5KHXea18407 for ; Wed, 20 Jun 2001 13:33:40 -0400 (EDT) (envelope-from pgsql-interfaces-owner@postgresql.org) Received: from cnri.reston.va.us (ns.CNRI.Reston.VA.US [132.151.1.1]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5I0k4a69254 for ; Sun, 17 Jun 2001 20:46:04 -0400 (EDT) (envelope-from weiming@cnri.reston.va.us) Received: from cnri.reston.va.us (cnri246.cnri.reston.va.us [132.151.1.246]) by cnri.reston.va.us (8.11.3/8.11.3) with ESMTP id f5I0Y0A09828 for ; Sun, 17 Jun 2001 20:34:01 -0400 (EDT) Message-ID: <3B2D5040.CEAB9D7F@cnri.reston.va.us> Date: Sun, 17 Jun 2001 20:50:08 -0400 From: Weiming He X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-interfaces@postgresql.org Subject: JDBC problem X-Priority: 2 (High) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200106/59 X-Sequence-Number: 1722 Hi, I'm experiencing problems with the jdbc driver. First of all, what is the correct syntax for running the compiled examples of Postgresql 7.1.2. I ran the followings earlier today, and I got the same error messages >java uk.org.retep.finder.Main Exception in thread "main" java.lang.NoClassDefFoundError: uk/org/retep/finder/Main >java basic jdbc:postgresql:cnri_handle loginame passwd Exception in thread "main" java.lang.NoClassDefFoundError: jdbc:postgresql:cnri_handle >java -Djdbc.drivers=org.postgresql.Driver uk.org.retep.finder.Main Exception in thread "main" java.lang.NoClassDefFoundError: uk/org/retep/finder/Main can anyone help me out with this? Thanks in advance.