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

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


pgsql-interfaces by date

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

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