JPWL_j2k_to_image: 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_j2k_to_image - from package: openjpeg-tools

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