Re: JDBC on HP-UX

From: Gunnar R|nning <gunnar(at)candleweb(dot)no>
To: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
Cc: "'Sondaar, Roelof'" <roelof(dot)sondaar(at)scania(dot)com>, "'pgsql-interfaces(at)postgresql(dot)org'" <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: JDBC on HP-UX
Date: 2000-05-30 09:39:39
Message-ID: x6ya4sxtpg.fsf@thor.candleweb.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Sondaar, Roelof 2000-05-30 09:42:18 RE: JDBC on HP-UX
Previous Message Peter Mount 2000-05-30 09:33:43 RE: JDBC on HP-UX