RE: Java and tomcat issues
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]
Re: Java and tomcat issues
Your JAVA_HOME value has a "/" at the end of it. Remove it, and reset JAVA_HOME, then try again. John [EMAIL PROTECTED] wrote: 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]
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]
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]
RE: RE: Java and tomcat issues - never mind got the path set
Thanks everyone - I got it set correctly thanks -Original Message- From: Atristain, Bobbie J. Sent: Tuesday, August 05, 2003 2: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/X1 > >1R > 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]
RE: RE: Java and tomcat issues
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]
RE: Java and tomcat issues
$JAVA_HOME != $PATH try: cd $JAVA_HOME/bin java --- Fabio Moraes [EMAIL PROTECTED] System Engineer Work Force Management System +55 21 3088 9548 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 14:54 To: [EMAIL PROTECTED] Subject: Java and tomcat issues Greetings, 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/X11R6/bin ) -bash-2.05b# Any suggestions? Bobbie Atristain Internet Systems Administrator Media General, INC. 804.649.6156 - 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]
RE: RE: Java and tomcat issues
Try export PATH="$PATH:$JAVA_HOME/bin" make sure you don't have spaces around the = Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 2: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]
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]
Re: Java and tomcat issues
'which' on checks the PATH variable, type: echo $JAVA_HOME and you will be able to verify you set that. I think then you have to add that to your path PATH = $PATH:${JAVA_HOME}/bin or something like that. - Original Message - From: [EMAIL PROTECTED] Date: Tuesday, August 5, 2003 1:54 pm Subject: Java and tomcat issues > Greetings, > 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/X11R6/bin > ) > -bash-2.05b# > > Any suggestions? > > Bobbie Atristain > Internet Systems Administrator > Media General, INC. > 804.649.6156 > > --- > -- > 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]
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]