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


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


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