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

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 (view raw or flat)
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

pgsql-interfaces by date

Next:From: Sondaar, RoelofDate: 2000-05-30 09:42:18
Subject: RE: JDBC on HP-UX
Previous:From: Peter MountDate: 2000-05-30 09:33:43
Subject: RE: JDBC on HP-UX

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