swac: 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

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/wims/bin/swac - from package: wims

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