grmiregistry: 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/grmiregistry - from package: libgcj

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/grmiregistry - from package: gcj-jre-headless

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