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

/usr/lib64/eclipse/plugins/org.apache.ant_1.7.1.v20100518-1145/bin/lcp.bat - from package: eclipse-platform

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

On Debian possible default full paths are:

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

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