i've izpack installer Scala 2.8.1 after install it at /usr/local/scala and set environment variable at etc/environment it's work normally for execute command like scala or scalac, but if i execute sbaz with sudo, the error message show like
sudo: sbaz: command not found
So i try to execute sbaz-setup new_sbaz_directory without sudo, but after i tried to execute command like
sbaz install sbt
Again the error show like
java.io.FileNotFoundException: /usr/local/scala/meta/.lock (Permission denied)
Why the sbaz not pointing to my sbaz_directory after execute sbaz-setup command ? Is there any solution for my problem ? Thank you