build-classpath-directory: 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-classpath-directory - from package: jpackage-utils

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