This is the mail archive of the rhdb@sources.redhat.com mailing list for the RHDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Java Problems


David Jee wrote:

On Mon, 2004-01-19 at 16:42, John Allgood wrote:


Thanks that worked great. I am also trying to get the Control Center to work. When I run the rhdb-cc. I get the error unable to find java executable.



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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]