New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scala.bat on x64 windows #4019
Comments
Imported From: https://issues.scala-lang.org/browse/SI-4019?orig=1 |
Ittay Dror (ittayd) said: |
@paulp said: |
@paulp said:
Can you give me enough detail to understand why scala is being installed in "C:\Program Files (x86)" in your environment and not in mine? I have that directory, and there are things in it, but both java and scala by default installed into "C:\Program Files". I am using Windows 7 Ultimate 64-bit. |
Ittay Dror (ittayd) said: About Scala, I don't know how the installer chooses where to install, but it probably ends up next to the JDK. |
@paulp said:
Right on both counts. Thanks. |
I just spent considerable time trying to launch scala in a windows 7 x64 environment. The problem and solution are here: http://stackoverflow.com/questions/430376/batch-files-vista-x64-if-and-parenthesis
Basically, SCALA_HOME is C:\Program Files (x86)\scala . In batch files, variables in 'if' statements are expanded before the 'if' statement is parsed. The parenthesis confuses the parser
This problem will probably become more and more common as more people switch to new computers.
The text was updated successfully, but these errors were encountered: