launch-ant.bat: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/share/doc/libcommons-launcher-java/examples/bin/launch-ant.bat - from package: libcommons-launcher-java

You may install the required package with command apt-get install {package}
Error in other languages:
launch-ant.bat: bevel nie gevind nie
launch-ant.bat: comandă negăsită
launch-ant.bat: comando não encontrado
launch-ant.bat: commande introuvable
launch-ant.bat: command not found
launch-ant.bat: käsku ei ole
launch-ant.bat: không tìm thấy lệnh
launch-ant.bat: komanda nerasta
launch-ant.bat: Kommando nicht gefunden.
launch-ant.bat: kommandot finns inte
launch-ant.bat: komut yok
launch-ant.bat: nie znaleziono polecenia
launch-ant.bat: níor aimsíodh an t-ordú
launch-ant.bat: no se encontró la orden
launch-ant.bat: no s'ha trobat l'ordre
launch-ant.bat: opdracht niet gevonden
launch-ant.bat: parancs nem található
launch-ant.bat: perintah tidak ditemukan
launch-ant.bat: príkaz nenájdený
launch-ant.bat: příkaz nenalezen
launch-ant.bat: команда не найдена
launch-ant.bat: командата не е открита
launch-ant.bat: 命令找不到
launch-ant.bat: コマンドが見つかりません