Featured Post

Passwordless ssh configuration

Simple step-by-step guide to config passwordless ssh access

Thursday, November 24, 2011

Scala comments

Just Started to learn Scala - the problem emerges:
After installing scala on my Windows 7 OS in C:\Program Files(x86)\scala folder, I tried to type scala in cmd.
The result:
C:\Users\Timur>scala 
\scala was unexpected at this time. 
C:\Users\Timur>
How to fix: just change env var SCALA_HOME value from "C:\Program Files(x86)\scala" to "c:\progra~2\scala".
If you have java installed somewhere in "C:\Program Files(x86)\Java" you'll also need to change it to "c:\progra~2\Java".
Solution was found here.
Post a Comment