Mac - Scala : Command Not Found error


Hi Gurus,
I am trying to set up Scala on my MacBook, but unfortunately getting command not found error. Below are the steps followed to set up Scala on my Mac

  1. Install JDK version 9.0.1
    2.Downloaded scala-2.11.11.tgz
  2. tar file to home directory
  3. Create softlink for scala-2.11.11
  4. vi ~/.profile - Add JAVA_HOME and SCALA_HOME
    export JAVA_HOME=$(/usr/libexec/java_home)
    export SCALA_HOME=/Users/pramodpudur/scala
    export PATH=$PATH:$SCALA_HOME/bin
  5. Echo $PATH = /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/pramodpudur/scala/bin:/Users/pramodpudur/scala/bin:/Users/pramodpudur/scala/bin
    everything looks good as per my knowledge, but getting command not found error

Please help!!

Thanks and Regards,
Pramod Pudur


I think you forgot to untar the files. I didn’t that step.