sbt command not found

20.8k views Asked by At

I am installing sbt in my cloudera distribution.

  1. I have downloaded sbt.0.13.15
  2. Moved file to /usr/local
  3. Then I had updated profile sudo nano profile Added export PATH=$PATH:/usr/local/sbt/bin Saved file and exited.
  4. But now if I issue "sbt about" command, I am getting sbt: command not found.

Could you please help to resolve this issue.

1

There are 1 answers

0
Christian On

Some suggestions:

  • Check your PATH variable: echo $PATH
  • The PATH variable is not updated automatically by writing into .profile, either open a new shell or do source .profile
  • The file is called .profile, not profile