I'm trying to execute FNDLOAD command from springs program. I'm using JSCH here. It is connecting and working for linux commands.
But i need to run FNDLOAD command. when it is executing getting error --

bsh -FNDLOAD command not found
But the same command is working fine when login with putty.

Here is my code...
@RequestMapping("/fndloaddownload")
public ModelAndView fndLoadDownload(@ModelAttribute("FNDLoad") FNDLoad fndload,
BindingResult result, HttpServletRequest request) {

String user = "applmgr";
String host = "192.168.100.100";

Session session = null;
Channel channel = null;
ChannelSftp channelSftp = null;

JSch jsch = new JSch();
try {


session = jsch.getSession(user, host, 22);
session.setPassword("applmgr");

java.util.Properties config = new java.util.Properties();
config.put("StrictHostKeyChecking", "no");
session.setConfig(config);


UserInfo usrInfo = new MyUserInfo();
session.setUserInfo(usrInfo);
session.connect();


System.out.println(session+" sess");

// String appsuser="cd $APPL_TOP && ./oraAS/oracle/VIS/apps/apps_st/appl/APPSVIS_apps.env";

String download="FNDLOAD apps/apps 0 Y DOWNLOAD '/oraAS/oracle/VIS/apps/apps_st/appl/fnd/12.0.0/patch/115/import/afcpprog.lct' tipupathi.ldt PROGRAM CONCURRENT_PROGRAM_NAME='XX_PREPAYMENT_RESULT_REPO RT' APPLICATION_SHORT_NAME='SQLAP'";


//String downloadd="mkdir fooMal";

channel = session.openChannel("exec");


System.out.println(channel+" channel");

((ChannelExec) channel).setCommand(download);
// ((ChannelExec) channel).setCommand(download);
channel.setXForwarding(true);



((ChannelExec) channel).setOutputStream(System.out);
((ChannelExec) channel).setErrStream(System.err);

InputStream inn = channel.getInputStream();
channel.connect();
channel.setInputStream(System.in);
// System.err.println(System.err);



byte[] tmpp = new byte[1024];
while (true) {
while (inn.available() > 0) {
int i = inn.read(tmpp, 0, 1024);
if (i < 0)
break;
String dr= new String(tmpp, 0, i);


}
if (channel.isClosed()) {
inn.close();
break;
}
try {
Thread.sleep(1000);
} catch (Exception ee) {
}
}

channel.disconnect();
session.disconnect();
} catch (Exception e) {
e.printStackTrace();
System.out.println("Exception" + e);
}


ModelAndView modelAndView = new ModelAndView("FNDLoad","fndload",fndload);

return modelAndView;
}

please plese please help me.thanks in advance.