Sounds like your not appending the $JAVA_HOME/bin, but replacing the whole
$PATH setting.  You want to start the PATH assignment with something like
this:

PATH=$PATH:$JAVA_HOME/bin

Hope this helps

Kashif

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 05, 2003 2:08 PM
To: [EMAIL PROTECTED]
Subject: RE: Java and tomcat issues


Okay everytime I do it my commands don't work on the box like ls, cd, ll -
the
only command that works is the exit command

Any ideas?

-----Original Message-----
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 05, 2003 2:06 PM
To: Tomcat Users List
Subject: RE: Java and tomcat issues



Howdy,

>I'm trying to set up JAVA for tomcat on a redhat 8.1 box and I keep
getting
>this message after I set the JAVA_HOME path
>
>-bash-2.05b# which java
>/usr/bin/which: no java in 
>(/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R
6/bi
>n
>)
>-bash-2.05b#

That's pretty clear, isn't it? ;)  Add $JAVA_HOME/bin to your $PATH.

Yoav Shapira



This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom
it is addressed, and may not be saved, copied, printed, disclosed or used by
anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank
you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to