solved: driver not found error

From: "Floyd Shackelford" <FloydS(at)4peakstech(dot)com>
To: "pgsql-interfaces" <pgsql-interfaces(at)postgresql(dot)org>
Subject: solved: driver not found error
Date: 2000-02-21 15:48:24
Message-ID: 000101bf7c83$163cb320$9701a8c0@azoffice.4peakstech.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

I figured out why I could not find the jdbc6.5-1.1.jar file.

The pertinent parts of my invocation script was:

> #! /bin/bash
...
> CLASSPATH=.:$JDKTOP/lib:../jar/jdbc6.5-1.1.jar
...
> java . . .

If java had been a binary executable, the above would have worked. However,
I subsequently discovered that the java "program" is really a link to
.java_wrapper in jdk1.1.5. .java_wrapper is a script that invokes the real
java program.

The CLASSPATH assignment should have been:

> export CLASSPATH=.:$JDKTOP/lib:../jar/jdbc6.5-1.1.jar

My invocation script now finds the jdbc6.5-1.1.jar file.

This might be useful in a FAQ somewhere.

Regards,
Floyd Shackelford
4 Peaks Technology Group, Inc.
http://www.4peakstech.com/
office: +1.888.398.4405
fax: +1.916.404.7125

Browse pgsql-interfaces by date

  From Date Subject
Next Message Floyd Shackelford 2000-02-21 15:57:59 exception running example.basic
Previous Message Ralf Lehmann 2000-02-21 15:46:31 Re: [INTERFACES] JDBC/Netscape/PostgreSQL Problem