runant.pl: 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 CentOS possible default full paths are:

/usr/bin/runant.pl - from package: ant-scripts
/usr/lib64/eclipse/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/runant.pl - from package: eclipse-platform

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/share/ant/bin/runant.pl - from package: ant
/usr/lib/eclipse/plugins/org.apache.ant_1.8.3.v20120321-1730/bin/runant.pl - from package: eclipse-platform-data

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