From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12477 invoked by alias); 20 Jan 2004 21:26:13 -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 12457 invoked from network); 20 Jan 2004 21:26:11 -0000 Received: from unknown (HELO touchme.toronto.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 20 Jan 2004 21:26:11 -0000 Received: from redhat.com (totem.toronto.redhat.com [172.16.14.42]) by touchme.toronto.redhat.com (Postfix) with ESMTP id 113508001D2; Tue, 20 Jan 2004 16:26:10 -0500 (EST) Message-ID: <400D9CF1.4050001@redhat.com> Date: Tue, 20 Jan 2004 21:26: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: John Allgood Cc: rhdb@sources.redhat.com Subject: Re: Java Problems References: <200401202116.QAA30589@Deimos.turbocorp.com> In-Reply-To: <200401202116.QAA30589@Deimos.turbocorp.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-q1/txt/msg00019.txt.bz2 John, The Control Center tool will be running as root (under PAM, of course) so your 'root' user must have the JAVA_HOME variable set (and to its PATH as well). Some JVMs set that when they are installed (IBM's used to) other don't (like Sun's). We have been talking of ways to make our tools smarter in locating Java JVMs by looking at usual places for the most common JVM providers, but there are issues like what to do if there are more than one etc. Eventually Java will be added to the 'alternatives' configuration and all these problems will go away. In the meanwhile, set your root users JAVA_HOME and PATH and you should be able to start rhdb-cc. Regards, Fernando John Allgood wrote: > > > -----Original Message----- > From: rhdb-owner@sources.redhat.com [mailto:rhdb-owner@sources.redhat.com] > On Behalf Of Fernando Nasser > Sent: Tuesday, January 20, 2004 1:46 PM > To: David Jee > Cc: John Allgood; rhdb@sources.redhat.com > Subject: Re: Java Problems > > rhdb-cc requires the 'postgres' user password (it should accept the root > password as well). > > You must 'su -' to become root and then assign a password to the postgres > user > with 'passwd postgres'. > > I tried that still reports unable to find java executable. I already checked > permission > > When I run which java it gives me > > /usr/java/j2re1.4.1_06/bin/java > >