Lets say you are running Mac OS X Lion and you have installed Scala to /usr/local/scala. To access scala from the terminal you need to do the following.
cd /etc/paths.d/ sudo vim scala
Add one line with the following in.
/usr/local/scala/bin
Save the file and restart terminal. You’ll now be able to use scala from the terminal.
Don't have time to check my blog? Get a weekly email with all the new posts. This is my personal blog, so obviously it is 100% spam free.
Tags: lion, mac, path, scala, system path
This entry was posted on Wednesday, September 5th, 2012 at 2:37 pm and is filed under Programming, Tech. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.