Re: How to include the Jar file in the Java classpath? - Mailing list pgsql-jdbc

From Daniel Serodio
Subject Re: How to include the Jar file in the Java classpath?
Date
Msg-id 1043865110.24698.67.camel@kelly.ckf
Whole thread Raw
In response to How to include the Jar file in the Java classpath?  ("hotmailChao" <chao_deng@hotmail.com>)
List 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 by date:

Previous
From: "hotmailChao"
Date:
Subject: How to include the Jar file in the Java classpath?
Next
From: "Chris Smith"
Date:
Subject: Re: [HACKERS] JDBC drivers and streaming content