Also don't do: 'export $PATH=...' Instead do: 'export PATH=...' The '$' symbol is not supposed to be there.
_____________________________________ Atreya Basu Developer, Greenfield Research Inc. e-mail: atreya (at) greenfieldresearch (dot) ca -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: August 5, 2003 3:33 PM To: [EMAIL PROTECTED] Subject: RE: RE: Java and tomcat issues Okay this happens bash-2.05b# export $PATH=$JAVA_HOME/bin -bash: export: `/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6 /bin =/usr/java/j2sdk1.4.1_04//bin': not a valid identifier -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 2:18 PM To: Tomcat Users List Subject: Re: RE: Java and tomcat issues Sure, APPEND the PATH variable with JAVA_HOME, don't overwrite it! Path=$PATH;JAVA_HOME/bin ----- Original Message ----- From: [EMAIL PROTECTED] Date: Tuesday, August 5, 2003 2:07 pm 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 [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, > proprietaryand/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 > immediatelydelete 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] --------------------------------------------------------------------- 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]