-
Notifications
You must be signed in to change notification settings - Fork 21
C:/Program: No such file or directory #1257
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
Comments
Imported From: https://issues.scala-lang.org/browse/SI-1257?orig=1 |
Geoffrey Alan Washburn (washburn) said: |
@lrytz said: |
@lrytz said: On my cygwin installation, "scala -version" now works fine. But I'm having problems with the interpreter when using jline: when I enter symbols which are not numbers or characters, e.g. '+' or ':', it starts to behave very strangely. It works fine with the '-Xnojline' option. Can you confim this? Is is a known problem? |
Eric Willigers (ewilligers) said:
|
The following error occurs on cygwin with 2.7.2.RC1 but didn't occur with earlier Scala releases.
C:> set | grep JAVA
JAVA_HOME=C:/Program Files/Java/jdk1.5.0_05
C:> bash
$ set | grep JAVA
JAVA_HOME='C:/Program Files/Java/jdk1.5.0_05'
$ scala -version
scala: line 65: C:/Program: No such file or directory
scala: line 65: exec: C:/Program: cannot execute: No such file or directory
A simple workaround might be to add quotes to the last line of scaladoc, scalac, scala, fsc:-
exec "${JAVACMD:=java}" ...
The text was updated successfully, but these errors were encountered: