Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed scala 2.8 using macports. I have setup the SCALA_HOME env variable and I have added the bin directory to my path.

If I type scala-2.8 into my terminal I get the scala interpreter.

Problem is, I feel like my netbeans isn't able to run and compile scala because of the "2.8 part. If you download scala from the web and install manually you are able to just type scala and i suspect that's what Netbeans is expecting.

I realise that I can get around this simply by using the web version but I would rather use macports if I can

Is there any way round this?

share|improve this question
up vote 2 down vote accepted

You need to install the port scala_select When run this will symbolically link /opt/local/bin/scala to the chosen versioned scala executable. In your case you can point it to scala-2.8

share|improve this answer
Perfect! Thank you. Just for idiots like me looking for this, you need to do this command: sudo scala_select -f scala28 – qui Apr 23 '11 at 17:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.