Does anyone know how to run the scala executable in Git Bash shell? -
i have installed scala on windows 7 system. when run "scala -version" windows command prompt, get: scala code runner version 2.11.4 -- copyright 2002-2013, lamp/epfl when run "scala -version" git bash shell, required swagger , other frameworks, get: error: not find or load main class files
does know how run scala executable git bash shell?
i'm guessing you've installed scala on c:\program files (x86)
or c:\program files
. far can tell, git bash has problems reading classpath if has spaces and/or "()" in it.
if you're on win7 64-bit system, easiest thing is:
- edit system variables path
- find scala\bin entry
- replace
c:\program files
progra~1
orc:\program files (x86)
progra~2
if you're not on 64-bit system, (which can't verify due not having one), you'll have escaping path
isn't screwed spaces and/or ().
edit: here's related play instead: play 2.0-rc3 -- error: not find or load main class
Comments
Post a Comment