Frank,

See http://www.mcsr.olemiss.edu/unixhelp/environment/env3d.html
It has been too many years since I did bash, but if I remember
correctly, basically, just to JAVA_HOME=/System/etc....; export JAVA_HOME

However, why not wrap it up in a sh or ksh script to make your life easier?




Frank Murray wrote:

>Hello,
>
>   This is a newbie question.  I am trying to set up a servlet container using 
> Apache Tomcat.
>One of the primary steps is setting up the JAVA_HOME environment variable.  
>Unfortunately,
>when I use:
>
>    "setenv JAVA_HOME /System/Library/Frameworks/JavaVM.Framework/Home"
>
>I get the error msg "-bash: setenv: command not found"
>
>I am using the bash shell in a terminal window running under Mac OS X.  I have 
>also used "set" and
>then applied the executable 'Startup.sh' located in the folder Tomcat/bin.  
>This however produces another
>error msg stating that the JAVA_HOME variable is not defined.
>
>Is there a command within the bash shell, similar to "setenv" that would work? 
> Any information is
>appreciated.  Thank you.
>
>fjm
>
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>

-- 
______________________________
Avi Deitcher
[EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to