tos-install-jni: 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/bin/tos-install-jni - from package: tinyos-tools

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