xjc: 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/lib/debug/usr/lib/jvm/java-7-openjdk-amd64/bin/xjc - from package: openjdk-7-dbg
/usr/lib/jvm/java-7-openjdk-amd64/bin/xjc - from package: openjdk-7-jdk

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