Re: Getting connected

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Getting connected
Дата
Msg-id 43459F11.7060401@opencloud.com
обсуждение исходный текст
Ответ на Getting connected  ("Peter Cook" <ttpcook@hotmail.com>)
Список pgsql-jdbc
Peter Cook wrote:

>   classpath = classpath + ";" + driverPath;
>   System.setProperty("java.class.path", classpath);

I don't think this works; the system classloader has already been set up
by this point so any change to the java.class.path property is likely to
be ignored.

If you want to modify the system classpath to include the driver jar,
you'll have to do that by passing an appropriate -classpath (or
CLASSPATH) setting to the JVM when you start it.

-O

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: I have a problem of abstraction...
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: I have a problem of abstraction...