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

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

On Debian possible default full paths are:

/usr/bin/gij - from package: gcj-jre-headless
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/bin/gij - from package: gcj-4.8-jre-headless
/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre/bin/gij - from package: gcj-4.8-jre-headless
/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/bin/gij - from package: gcj-4.9-jre-headless
/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre/bin/gij - from package: gcj-4.9-jre-headless

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