Herwig++: 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/bin/Herwig++ - from package: herwig++

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