Re: JDBC on HP-UX - Mailing list pgsql-interfaces

From Gunnar R|nning
Subject Re: JDBC on HP-UX
Date
Msg-id x6ya4sxtpg.fsf@thor.candleweb.no
Whole thread Raw
In response to RE: JDBC on HP-UX  (Peter Mount <petermount@it.maidstone.gov.uk>)
List pgsql-interfaces
Peter Mount <petermount@it.maidstone.gov.uk> writes:

> There's two things that could go wrong here. The first one is the CLASSPATH,
> but you have the jar file in there correctly, but did you export CLASSPATH?
> If not, the shell won't pass it on to any child processes including java.
> 
> The other is the jdbc url. It should begin: jdbc:postgresql: If the url
> doesn't match, then thr driver won't recognise it, and you'll get the same
> error.
> 

Couldn't it also be that he hasn't told the system about the jdbc driver ?
You have to supply the driver as a -Djdbc.drivers argument or load it from
your Java code.

regards, 
Gunnar



pgsql-interfaces by date:

Previous
From: "Sondaar, Roelof"
Date:
Subject: RE: JDBC on HP-UX
Next
From: Michael Meskes
Date:
Subject: Re: Embedded Vacuum sql