Where was scala_home homebrew installed on OSX?
I am unable to get up and running despite scala
successful opening scala>
in terminal. I suspect it has something to do with the scala_home installation on my .bash_profile
, on my mac.
What is the correct value for SCALA_HOME
, or how do you find the correct value? (he was homebrew)
And this is the scale-compile method:
cd to the bottom folder src
and scalac IntroducingScala.HelloWorld.scala
?
source to share
Homebrew usually tells you where it is installed if you do brew info <name>
. It usually points to /usr/local/opt/<name>
which will be a symbolic link to the current version you are working on.
When I run it brew info scala
, it also contains a helpful caveat:
==> Caveats
To use with IntelliJ, set the Scala home to:
/usr/local/opt/scala/idea
source to share