From: | Daniel Serodio <daniel(at)checkforte(dot)com(dot)br> |
---|---|
To: | hotmailChao <chao_deng(at)hotmail(dot)com> |
Cc: | PostgreSQL JDBC List <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: How to include the Jar file in the Java classpath? |
Date: | 2003-01-29 18:31:50 |
Message-ID: | 1043865110.24698.67.camel@kelly.ckf |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)checkforte(dot)com(dot)br>
CheckForte
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Smith | 2003-01-29 19:00:13 | Re: JDBC drivers and streaming content |
Previous Message | Dave Cramer | 2003-01-29 17:05:15 | Re: JDBC drivers and streaming content |