Skip site navigation (1) Skip section navigation (2)

Re: [INTERFACES] JDBC or JDK problem? Can't find class...

From: Cyril Ferrand <Cyril(dot)Ferrand(at)sophia(dot)inria(dot)fr>
To: papt(at)edasz(dot)hu
Cc: pgsql-interfaces(at)postgreSQL(dot)org, Cyril(dot)Ferrand(at)sophia(dot)inria(dot)fr
Subject: Re: [INTERFACES] JDBC or JDK problem? Can't find class...
Date: 1998-07-28 07:05:23
Message-ID: 199807280705.JAA01137@celia.inria.fr (view raw or flat)
Thread:
Lists: pgsql-interfaces
> 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 <papt(at)edasz(dot)hu>
> ---------------------
> 
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(dot)ferrand(at)sophia(dot)inria(dot)fr	        *
*            http://www.mygale.org/05/ironmask                          *
*************************************************************************


Responses

pgsql-interfaces by date

Next:From: Peter T MountDate: 1998-07-28 10:18:11
Subject: RE: [INTERFACES] JDBC & IE40
Previous:From: Aleksey DemakovDate: 1998-07-28 06:45:13
Subject: Re: [INTERFACES] psqlodbc

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group