How to include the Jar file in the Java classpath?

From: "hotmailChao" <chao_deng(at)hotmail(dot)com>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: How to include the Jar file in the Java classpath?
Date: 2003-01-29 15:53:25
Message-ID: OE4559Vvjvxo6AmX3qr000018e4@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2003-01-29 17:05:15 Re: JDBC drivers and streaming content
Previous Message Patric Bechtel 2003-01-29 12:44:59 Re: Unusable resultset [Viruschecked]