[JSch-users] Re: Having problems setting up with ant
Status: Alpha
Brought to you by:
ymnk
From: Amir S. <am...@sh...> - 2006-02-28 15:51:27
|
sorry I hit send to soon :) ----- Original Message ---- From: Amir Sheibani <am...@sh...> To: jsc...@li... Sent: Tuesday, February 28, 2006 7:38:48 AM Subject: Having problems setting up with ant Hi, I am trying to use the sshexec task for ant version 1.6.5. I have added the required library jsch-0.1.25.jar under ${ant home}/lib. When I run my ant task I get the following error: oscar.deploy.war: [sshexec] Connecting to oscar:22 [sshexec] Neither the JAVA_HOME nor the JRE_HOME environment variable is defined [sshexec] At least one of these environment variable is needed to run this program I have the JAVA_HOME enviroment set, so I am not sure what is going on. Thanks, Amir |