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 16:30, John Allgood wrote:
> Thats exactly what I have done. Here is my env for root. As you can see 
> JAVA_HOME is set and the path and CLASSPATH is set.
> 
> Any Ideas.
> 
> 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
> DISPLAY=:0
> 

Try this:

su -
cd /usr/java
mkdir j2sdk1.4.2_01
cd j2sdk1.4.2_01
mkdir bin
cd bin
(make a link to your java executable here)

I believe that this will work. It's probably the pam auth modules not
letting your JAVA_HOME/JAVA_CMD variables through.

Cheers,

Kim


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