From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9039 invoked by alias); 20 Jan 2004 18:23: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 8838 invoked from network); 20 Jan 2004 18:23:06 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 20 Jan 2004 18:23:06 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id i0KIN6l06745 for ; Tue, 20 Jan 2004 13:23:06 -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 i0KIN5a07940; Tue, 20 Jan 2004 13:23:05 -0500 Received: from to-dhcp4.toronto.redhat.com (to-dhcp4.toronto.redhat.com [172.16.14.104]) by pobox.toronto.redhat.com (8.12.8/8.12.8) with ESMTP id i0KIN4Xd006765; Tue, 20 Jan 2004 13:23:05 -0500 Subject: Re: Java Problems From: David Jee To: John Allgood Cc: rhdb@sources.redhat.com In-Reply-To: <400D4A57.1070902@turbocorp.com> References: <400C01FF.2020908@turbocorp.com> <400C1AF2.2050700@redhat.com> <400C227C.7040000@turbocorp.com> <400C2F1B.50308@redhat.com> <400C3460.5080005@turbocorp.com> <1074544037.9514.20.camel@tomboy.toronto.redhat.com> <400C406E.50407@turbocorp.com> <1074547724.10056.3.camel@tomboy.toronto.redhat.com> <400C4F35.7000307@turbocorp.com> <1074610464.16199.5.camel@tomboy.toronto.redhat.com> <400D4A57.1070902@turbocorp.com> Content-Type: text/plain Organization: Message-Id: <1074622980.4848.6.camel@tomboy.toronto.redhat.com> Mime-Version: 1.0 Date: Tue, 20 Jan 2004 18:23:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2004-q1/txt/msg00016.txt.bz2 On Tue, 2004-01-20 at 10:33, John Allgood wrote: > 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 > > > > > > > > > All these paths are set. It still doesn't work. I noticed that rhdb-cc > was link to consolehelper. When I run rhdb-cc from the command line I > get java exe not found. When I launch from the menu I get a password box > which won't except any password. Here is env below. > > PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/java/j2re1.4.1_06/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin > INPUTRC=/etc/inputrc > PWD=/root > JAVA_HOME=/usr/java/j2re1.4.1_06 > LANG=en_US.UTF-8 > LAMHELPFILE=/etc/lam/lam-helpfile > SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass > SHLVL=1 > HOME=/root > XPVM_ROOT=/usr/share/pvm3/xpvm > BASH_ENV=/root/.bashrc > LOGNAME=root > CLASSPATH=/usr/share/java/postgresql.jar > LESSOPEN=|/usr/bin/lesspipe.sh %s As which user are you trying to run rhdb-cc? Perhaps the file permissions are not set correctly for your JAVA_HOME directory? Login and do `which java`. Assuming that your PATH is set correctly, if you still don't see /usr/java/j2re1.4.1_06/bin/java, then you might need to change the permissions on that directory. -David Jee