xerces-j2-version: 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 CentOS possible default full paths are:

/usr/bin/xerces-j2-version - from package: xerces-j2-scripts

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