gjdoc: 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/gjdoc - from package: gcj-jdk

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