[JSch-users] Having problems setting up with ant
Status: Alpha
Brought to you by:
ymnk
From: Amir S. <am...@sh...> - 2006-02-28 15:47:59
|
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 do have $JAVA_HOME defined so I am not sure what to do... Any help is appreciated. Thanks, Amir |