From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10222 invoked by alias); 19 Mar 2004 21:36:46 -0000 Mailing-List: contact rhdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: rhdb-owner@sources.redhat.com Received: (qmail 10213 invoked from network); 19 Mar 2004 21:36:46 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 19 Mar 2004 21:36:46 -0000 Received: from redhat.com (totem.toronto.redhat.com [172.16.14.42]) by touchme.toronto.redhat.com (Postfix) with ESMTP id A978C8000DA; Fri, 19 Mar 2004 16:36:45 -0500 (EST) Message-ID: <405B67ED.4090700@redhat.com> Date: Fri, 19 Mar 2004 21:36:00 -0000 From: Fernando Nasser Organization: Red Hat , Inc. - Toronto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 MIME-Version: 1.0 To: James Beale , rhdb@sources.redhat.com Subject: Re: rhdb-explain rhdb-admin "Unable to find a java executable" References: <02FA758810D1D711943E0003470A8B918F0D@LCCNTSERVER1> In-Reply-To: <02FA758810D1D711943E0003470A8B918F0D@LCCNTSERVER1> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-q1/txt/msg00044.txt.bz2 James Beale wrote: > > However, rhdb-admin stops with the following error message: > Class load error > An error occured while attempting to load the required JDBC classes. > Please ensure that all of the postgresql JDBC classes (including > org.postgresql.jdbc3.*) exist in your class path and are being seen by the > Java Virtual Machine. > Administrator cannot run until this is fixed. > This one is easy. Look for your postgresql.jar file, which is the JDBC Driver that is not being found. Maybe you are not using the one from the rh-postgresql-java rpm, or have more than one in your CLASPATH, or it is in a different location than expected (I remember there was a change of location due to Linux Filesystem Standardization not long ago). Assuming it is in /usr/share/java you can try the following: export CLASSPATH=/usr/share/java/postgresql.jar