JPWL_image_to_j2k: 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/JPWL_image_to_j2k - from package: openjpeg-tools

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