This is the mail archive of the
rhdb@sources.redhat.com
mailing list for the RHDB project.
Re: "Unable to find a java executable" for rhdb-explain andrhdb-admi n
- From: Kim Ho <kho at redhat dot com>
- To: James Beale <jamesb at ludcastle dot co dot uk>
- Cc: "'rhdb at sources dot redhat dot com'" <rhdb at sources dot redhat dot com>
- Date: 19 Mar 2004 09:45:09 -0500
- Subject: Re: "Unable to find a java executable" for rhdb-explain andrhdb-admi n
- Organization:
- References: <02FA758810D1D711943E0003470A8B918F09@LCCNTSERVER1>
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