scaladoc: 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/scaladoc - from package: scala

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