rmic: 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 Debian possible default full paths are:

/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/bin/rmic - from package: gcj-4.8-jdk
/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/bin/rmic - from package: gcj-4.9-jdk
/usr/lib/debug/usr/lib/jvm/java-7-openjdk-amd64/bin/rmic - from package: openjdk-7-dbg
/usr/lib/jvm/java-7-openjdk-amd64/bin/rmic - from package: openjdk-7-jdk

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