pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
JDBC or JDK problem? Can't find class...
3+ messages / 3 participants
[nested] [flat]

* JDBC or JDK problem? Can't find class...
@ 1998-07-28 06:07 Pap Tibor <papt@edasz.hu>
  1998-07-28 07:05 ` Re: [INTERFACES] JDBC or JDK problem? Can't find class... Cyril Ferrand <Cyril.Ferrand@sophia.inria.fr>
  0 siblings, 1 reply; 3+ messages in thread

From: Pap Tibor @ 1998-07-28 06:07 UTC (permalink / raw)
  To: 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 src/interfaces/jdbc/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@edasz.hu>
---------------------



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [INTERFACES] JDBC or JDK problem? Can't find class...
  1998-07-28 06:07 JDBC or JDK problem? Can't find class... Pap Tibor <papt@edasz.hu>
@ 1998-07-28 07:05 ` Cyril Ferrand <Cyril.Ferrand@sophia.inria.fr>
  1998-07-28 10:37   ` Re: [INTERFACES] JDBC or JDK problem? Can't find class... Peter T Mount <peter@retep.org.uk>
  0 siblings, 1 reply; 3+ messages in thread

From: Cyril Ferrand @ 1998-07-28 07:05 UTC (permalink / raw)
  To: papt@edasz.hu; +Cc: pgsql-interfaces; Cyril.Ferrand@sophia.inria.fr

> 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@edasz.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.ferrand@sophia.inria.fr	        *
*            http://www.mygale.org/05/ironmask                          *
*************************************************************************




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [INTERFACES] JDBC or JDK problem? Can't find class...
  1998-07-28 06:07 JDBC or JDK problem? Can't find class... Pap Tibor <papt@edasz.hu>
  1998-07-28 07:05 ` Re: [INTERFACES] JDBC or JDK problem? Can't find class... Cyril Ferrand <Cyril.Ferrand@sophia.inria.fr>
@ 1998-07-28 10:37   ` Peter T Mount <peter@retep.org.uk>
  0 siblings, 0 replies; 3+ messages in thread

From: Peter T Mount @ 1998-07-28 10:37 UTC (permalink / raw)
  To: Cyril Ferrand <Cyril.Ferrand@sophia.inria.fr>; +Cc: papt@edasz.hu; pgsql-interfaces

On Tue, 28 Jul 1998, Cyril Ferrand wrote:

> 	To run example of jdbc interfcace you must go to src/interfaces/jdbc/ and do:
> $:javac example/basic.java

the best method to compile is "make examples"

> $:java example.basic
> 
> I think this will work...

It will.

-- 
Peter T Mount peter@retep.org.uk or petermount@earthling.net
Main Homepage: http://www.retep.org.uk
************ Someday I may rebuild this signature completely ;-) ************
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~1998-07-28 10:37 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-07-28 06:07 JDBC or JDK problem? Can't find class... Pap Tibor <papt@edasz.hu>
1998-07-28 07:05 ` Cyril Ferrand <Cyril.Ferrand@sophia.inria.fr>
1998-07-28 10:37   ` Peter T Mount <peter@retep.org.uk>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox