solved: driver not found error - Mailing list pgsql-interfaces

From Floyd Shackelford
Subject solved: driver not found error
Date
Msg-id 000101bf7c83$163cb320$9701a8c0@azoffice.4peakstech.com
Whole thread Raw
List 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



pgsql-interfaces by date:

Previous
From: richard clark
Date:
Subject: Problems in ODBC driver
Next
From: Ralf Lehmann
Date:
Subject: Re: [INTERFACES] JDBC/Netscape/PostgreSQL Problem