jags: 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/jags - from package: jags

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