From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14729 invoked by alias); 19 Mar 2004 14:45:11 -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 14721 invoked from network); 19 Mar 2004 14:45:10 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 19 Mar 2004 14:45:10 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i2JEjAWA018195 for ; Fri, 19 Mar 2004 09:45:10 -0500 Received: from pobox.toronto.redhat.com (pobox.toronto.redhat.com [172.16.14.4]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i2JEj9j06252; Fri, 19 Mar 2004 09:45:09 -0500 Received: from tomaluk.toronto.redhat.com (tomaluk.toronto.redhat.com [172.16.14.15]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id i2JEj9xo028738; Fri, 19 Mar 2004 09:45:09 -0500 Subject: Re: "Unable to find a java executable" for rhdb-explain and rhdb-admi n From: Kim Ho To: James Beale Cc: "'rhdb@sources.redhat.com'" In-Reply-To: <02FA758810D1D711943E0003470A8B918F09@LCCNTSERVER1> References: <02FA758810D1D711943E0003470A8B918F09@LCCNTSERVER1> Content-Type: text/plain Organization: Message-Id: <1079707508.13808.8.camel@tomaluk.toronto.redhat.com> Mime-Version: 1.0 Date: Fri, 19 Mar 2004 14:45:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2004-q1/txt/msg00042.txt.bz2 On Fri, 2004-03-19 at 07:32, James Beale wrote: > Hi > > I've searched around the lists, and discovered what to do to get rhdb-cc > working OK in this situation, but I don't see where to resolve the > rhdb-explain and rhdb-admin "Unable to find a java executable" messages. > > I don't have any .sh for rhdb-explain or rhdb-admin. j2re-1.4.2_04-fcs is > installed, and I'm using RedHat 9. > > Help would be most gratefully recived! > > Thanks > > James Beale Please try the following: David Jee wrote: >You need to set your JAVA_HOME and PATH variables properly. For >example, if you've installed your JRE in /usr/java/j2sdk1.4.2_01, you >need to do: > >JAVA_HOME=/usr/java/j2sdk1.4.2_01 >PATH=$JAVA_HOME/bin:$PATH >export JAVA_HOME PATH > >-David Jee Cheers, Kim