Issue
I'm very new to Scala. I have downloaded it, got it working in Eclipse where I'll be developing it; but I can't make it work in Terminal.
All sites and books say to just type scala
- this doesn't work.
The website infuriatingly says:
We assume that both the Scala software and the user environment are set up correctly.
How do I do that bit?
I'm very new to this, and using Jargon or assuming too much knowledge of frameworks around Scala will ruin a good response; please keep it simple.
- Mac OS X (10.6.7)
- Scala: 2.9.0.1
Thank you
Solution
For OS X, I highly recommend Homebrew.
The installation of Homebrew is incredibly easy. Once installed, you just need to run brew install scala
and scala will be installed and ready to go. Homebrew also has tons of other goodies just a brew install
away.
If you don't already have Java installed, you can install that with brew cask install java
.
MacPorts or Fink may have something similar, but I prefer Homebrew.
Answered By - leedm777 Answer Checked By - Pedro (WPSolving Volunteer)