I'm trying to execute a ssh command inside java code. SSH command must
know HOMEDRIVE environment variable to find know_hosts file... How can
I do that?

Thanks a lot

On Nov 6, 2007 3:14 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> > From: Andrew Hole [mailto:[EMAIL PROTECTED]
> > Subject: Environment variables
> >
> > how can I setup environment variables on tomcat windows service?
> > Tomcat cleans environment variables...
>
> You can't - services don't use environment variables.  Use the
> tomcat?w.exe program to set Java system properties and heap values for
> the service.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [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