- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Windows 7 64bit Pathproblems ("Program Files (x86)" breaks scripts)
Thu, 2009-10-15, 10:07
I encountered some problems with Scala (2.7) on Windows 7 64bit.
It seems that the paths used by Windows 7 for storing 32bit applications
like Scala or Java
("C:\Program Files (x86)") break the batch scripts supplied in "/bin" with
Scala 2.7.6/2.7.7RC1.
Runing any of them yields " "\Scala" kann syntaktisch an dieser Stelle nicht
verarbeitet werden."
Installing Scala in a place not containing the "(x86)" in the paths leaves
the same error for the Java path.
A workaround was setting the "_JAVACMD" variable to "java" in the supplied
scripts.
bnord wrote:
>
>
> [..]
>
> A workaround was setting the "_JAVACMD" variable to "java" in the supplied
> scripts.
>
>
I used "junction" to add a link "ProgramFilesx86" pointing to ("Program
Files (x86)" and used "ProgramFilesx86" in the PATH variable. Thanks for
pinning down the problem to the braces!