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

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