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

From hotmailChao
Subject How to include the Jar file in the Java classpath?
Date
Msg-id OE4559Vvjvxo6AmX3qr000018e4@hotmail.com
Whole thread Raw
Responses Re: How to include the Jar file in the Java classpath?  (Daniel Serodio <daniel@checkforte.com.br>)
List pgsql-jdbc
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

An error is given as: java.lang.ClassNotFoundException: org.postgresql.Driver

Anybody could help me?

Thanks

Chao

pgsql-jdbc by date:

Previous
From: "Patric Bechtel"
Date:
Subject: Re: Unusable resultset [Viruschecked]
Next
From: Daniel Serodio
Date:
Subject: Re: How to include the Jar file in the Java classpath?