build-jar-repository: 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/build-jar-repository - from package: jpackage-utils

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