Skip to content

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

Closed
scabug opened this issue Aug 21, 2008 · 5 comments
Closed

C:/Program: No such file or directory #1257

scabug opened this issue Aug 21, 2008 · 5 comments
Milestone

Comments

@scabug
Copy link

scabug commented Aug 21, 2008

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}" ...

@scabug
Copy link
Author

scabug commented Aug 21, 2008

Imported From: https://issues.scala-lang.org/browse/SI-1257?orig=1
Reporter: Eric Willigers (ewilligers)

@scabug
Copy link
Author

scabug commented Aug 21, 2008

Geoffrey Alan Washburn (washburn) said:
I don't think this is directly related to the interpreter.

@scabug
Copy link
Author

scabug commented Aug 22, 2008

@lrytz said:
fixed in r15889

@scabug
Copy link
Author

scabug commented Aug 22, 2008

@lrytz said:
OK, I applied your fix, this will go into 2.7.2.

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?

@scabug
Copy link
Author

scabug commented Aug 30, 2008

Eric Willigers (ewilligers) said:
Thanks you for the fix.

Can you confirm this?
I'm not noticing any problems when using symbols like '+' or ':' in the interpreter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant