solved: driver not found error

Поиск
Список
Период
Сортировка
От Floyd Shackelford
Тема solved: driver not found error
Дата
Msg-id 000101bf7c83$163cb320$9701a8c0@azoffice.4peakstech.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: richard clark
Дата:
Сообщение: Problems in ODBC driver
Следующее
От: Ralf Lehmann
Дата:
Сообщение: Re: [INTERFACES] JDBC/Netscape/PostgreSQL Problem