Received: from celia.inria.fr (cferrand@celia.inria.fr [138.96.32.67]) by hub.org (8.8.8/8.7.5) with ESMTP id DAA07776 for ; Tue, 28 Jul 1998 03:06:13 -0400 (EDT) Received: from localhost by celia.inria.fr (8.8.8/8.8.5) with ESMTP id JAA01137; Tue, 28 Jul 1998 09:05:25 +0200 (MET DST) Message-Id: <199807280705.JAA01137@celia.inria.fr> X-Mailer: exmh version 1.6.7 5/3/96 To: papt@edasz.hu cc: pgsql-interfaces@postgreSQL.org, Cyril.Ferrand@sophia.inria.fr Subject: Re: [INTERFACES] JDBC or JDK problem? Can't find class... In-Reply-To: Message from Pap Tibor of "Tue, 28 Jul 1998 07:07:38 BST." <19980728080738.34142@op.edasz.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 28 Jul 1998 09:05:23 +0200 From: Cyril Ferrand > Hi! > > I have a problem again :( > A succesfully compiled the JDBC driver, thanks to your help. But now I > can't run the example applications is example. > > $ echo $CLASSPATH > .:/usr/local/jdk1.1.6/lib/classes.zip:/usr/local/lib/postgresql.jar > $ java basic > Can't find class basic > $ ls -l basic.class > -rwxr-xr-x 1 postgres postgres 3750 Jul 27 12:57 basic.class > $ > > I wrote a simple hello.java program, and compiled it, and I can run it. > I have problems only with JDBC example progrmas. > > --Tibor > > -- > ---------.Sig-------- > Tibor Pap > --------------------- > Hello To run example of jdbc interfcace you must go to src/interfaces/jdbc/ and do: $:javac example/basic.java $:java example.basic I think this will work... bye Cyril -- ************************************************************************* * Cyril Ferrand : mailto:cyril.ferrand@sophia.inria.fr * * http://www.mygale.org/05/ironmask * *************************************************************************