X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A4F55D1B33F for ; Fri, 2 Jul 2004 01:58:45 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 89385-05 for ; Fri, 2 Jul 2004 04:58:43 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id B2A73D1B385 for ; Fri, 2 Jul 2004 01:58:41 -0300 (ADT) Received: from flood.opencloud.co.nz ([192.168.0.31] helo=opencloud.com ident=oliver) by yass.opencloud.co.nz with esmtp (Exim 3.35 #1 (Debian)) id 1BgG8F-0005iW-00; Fri, 02 Jul 2004 16:58:39 +1200 Message-ID: <40E4EB7B.7090800@opencloud.com> Date: Fri, 02 Jul 2004 16:58:35 +1200 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christopher Farley Cc: pgsql-jdbc@postgresql.org Subject: Re: Puzzling Unix CLASSPATH issue... References: <20040702043729.GA2199@northernbrewer.com> In-Reply-To: <20040702043729.GA2199@northernbrewer.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/10 X-Sequence-Number: 10394 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