Re: How to include the Jar file in the Java classpath?

Поиск
Список
Период
Сортировка
От Daniel Serodio
Тема Re: How to include the Jar file in the Java classpath?
Дата
Msg-id 1043865110.24698.67.camel@kelly.ckf
обсуждение исходный текст
Ответ на How to include the Jar file in the Java classpath?  ("hotmailChao" <chao_deng@hotmail.com>)
Список pgsql-jdbc
On Wed, 2003-01-29 at 13:53, hotmailChao wrote:
> Hi,
>
> I have aPostgreSQL's JDBC driver as /usr/share/postgresql/java/postgresql.jar.
>
> But when I run the following command :
> java -Djdbc.drivers=org.postgresql.Driver example.Imageview

Try java -Djdbc.drivers=org.postgresql.Driver -classpath
/usr/share/postgresql/java/postgresql.jar:. example.Imageview

> An error is given as: java.lang.ClassNotFoundException: org.postgresql.Driver
>
> Anybody could help me?
>
> Thanks
>
> Chao
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
--
Daniel Serodio <daniel@checkforte.com.br>
CheckForte


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

Предыдущее
От: "hotmailChao"
Дата:
Сообщение: How to include the Jar file in the Java classpath?
Следующее
От: "Chris Smith"
Дата:
Сообщение: Re: [HACKERS] JDBC drivers and streaming content