From: David Jee <djee@redhat.com>
To: John Allgood <john@turbocorp.com>
Cc: rhdb@sources.redhat.com
Subject: Re: Java Problems
Date: Tue, 20 Jan 2004 18:23:00 -0000 [thread overview]
Message-ID: <1074622980.4848.6.camel@tomboy.toronto.redhat.com> (raw)
In-Reply-To: <400D4A57.1070902@turbocorp.com>
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
next prev parent reply other threads:[~2004-01-20 18:23 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-19 16:12 John Allgood
2004-01-19 17:59 ` Patrick Macdonald
2004-01-19 19:17 ` John Allgood
2004-01-19 19:25 ` Patrick Macdonald
2004-01-19 20:17 ` John Allgood
2004-01-19 20:27 ` David Jee
2004-01-19 21:17 ` John Allgood
2004-01-19 21:28 ` David Jee
[not found] ` <400C4F35.7000307@turbocorp.com>
2004-01-20 14:54 ` David Jee
2004-01-20 15:33 ` John Allgood
2004-01-20 18:23 ` David Jee [this message]
2004-01-20 18:45 ` Fernando Nasser
2004-01-20 21:05 ` John Allgood
2004-01-20 21:26 ` Fernando Nasser
2004-01-20 21:30 ` John Allgood
2004-01-20 21:53 ` Kim Ho
2004-01-20 22:01 ` John Allgood
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=1074622980.4848.6.camel@tomboy.toronto.redhat.com \
--to=djee@redhat.com \
--cc=john@turbocorp.com \
--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).