Received: from thor.candleweb.no (thor.candleweb.no [195.139.160.194]) by hub.org (8.9.3/8.9.3) with ESMTP id FAA43888 for ; Tue, 30 May 2000 05:57:08 -0400 (EDT) (envelope-from gunnar@candleweb.no) Received: (from gunnar@localhost) by thor.candleweb.no (8.10.0/8.10.0/on4) id ; Tue, 30 May 2000 11:39:39 +0200 (MET DST) To: Peter Mount Cc: "'Sondaar, Roelof'" , "'pgsql-interfaces@postgresql.org'" Subject: Re: JDBC on HP-UX References: <1B3D5E532D18D311861A00600865478CF1AE7A@EXCHANGE1> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Gunnar R|nning Date: 30 May 2000 11:39:39 +0200 In-Reply-To: Peter Mount's message of "Tue, 30 May 2000 10:33:43 +0100" Message-ID: Lines: 19 X-Mailer: Gnus v5.4.65/Emacs 19.34 X-Archive-Number: 200005/94 Peter Mount 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