From: Fernando Nasser <fnasser@redhat.com>
To: Daniel Wan <hywan@hkbn.com.hk>
Cc: rhdb@sources.redhat.com
Subject: Re: rhdb-explain can't locate java
Date: Thu, 23 Jan 2003 15:23:00 -0000 [thread overview]
Message-ID: <3E3008FF.1010300@redhat.com> (raw)
In-Reply-To: <3E30009A.3000009@hkbn.com.hk>
Daniel Wan wrote:
> Dear all,
>
> When I execute command rhdb-explain &
> It promit unable to find a java executable
> but I had already install jre-1.3.1_06.i586.rpm
> and checked it install to /usr/java/jre1.3.1_06/bin/java
> How come rhdb can't locate it??
>
You should always have your environment variable JAVA_HOME pointing to your Java
directory. You should also set your PATH to make sure the proper Java binaries
(the ones from the same kit) are found before any similar named commands.
Put the files in your shell rc file, .login or even install it system wide if
all are supposed to use Java.
Here are the commands for a bash shell:
export JAVA_HOME=/usr/java/jre1.3.1_06
export PATH=/usr/java/jre1.3.1_06/bin:$PATH
After you do this, test with:
echo $JAVA_HOME
-> /usr/java/jre1.3.1_06
which java
-> /usr/java/jre1.3.1_06/bin/java
Thanks for your interest in trying Visual Explain.
Regards,
Fernando
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
prev parent reply other threads:[~2003-01-23 15:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-23 14:48 Daniel Wan
2003-01-23 15:18 ` Permaine Cheung
2003-01-23 15:23 ` Fernando Nasser [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E3008FF.1010300@redhat.com \
--to=fnasser@redhat.com \
--cc=hywan@hkbn.com.hk \
--cc=rhdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).