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 2.12.1 runner tries to use unset $JAVA_HOME #10098
Comments
Imported From: https://issues.scala-lang.org/browse/SI-10098?orig=1 |
@retronym said: My environment sets JAVA_HOME and adds JAVA_HOME/bin to the path when I switch JDKs, which is why I haven't noticed this. |
@retronym said: |
@som-snytt said: |
regression Scala 2.11.12
|
Looks like we forgot to backport scala/scala@60ea98e :( |
EDIT: never mind, already happened at scala/scala#6205 |
If environment variable JAVA_HOME is unset (like it's supposed to be) then when scala and scalac get to these lines added in bfa7ade0db ...
...it's the empty string and that translates into
cat /release
which obviously doesn't exist. So,The text was updated successfully, but these errors were encountered: