Re: Puzzling Unix CLASSPATH issue... - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Puzzling Unix CLASSPATH issue...
Date
Msg-id 40E4EB7B.7090800@opencloud.com
Whole thread Raw
In response to Puzzling Unix CLASSPATH issue...  (Christopher Farley <chris@northernbrewer.com>)
Responses Re: Puzzling Unix CLASSPATH issue...
List pgsql-jdbc
Christopher Farley wrote:

> chris:~/test> export CLASSPATH=/usr/local/jdk1.4.2/jre/lib/rt.jar:.:pg74.214.jdbc3.jar; java DataBase
> Testing
> chris:~/test> su fred
> Password:
> fred:/home/chris/test> export CLASSPATH=/usr/local/jdk1.4.2/jre/lib/rt.jar:.:pg74.214.jdbc.jar; java DataBase
> Couldn't find driver class:
> java.lang.ClassNotFoundException: org.postgresql.Driver

Check the permissions on the driver jarfile; perhaps it is not readable
as 'fred'.

-O

pgsql-jdbc by date:

Previous
From: Christopher Farley
Date:
Subject: Puzzling Unix CLASSPATH issue...
Next
From: Christopher Farley
Date:
Subject: Re: Puzzling Unix CLASSPATH issue...