We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
sbt version: 1.2.8
As suggested by @eed3si9n in the (closed) issue 4766 I tried to run sbt with the -java-home option but it failed with the following error:
-java-home
[error] Expected symbol [error] Not a valid command: - [error] Expected end of input. [error] Expected '--' [error] Expected 'debug' [error] Expected 'info' [error] Expected 'warn' [error] Expected 'error' [error] Expected 'addPluginSbtFile' [error] -java-home [error] ^
sbt compiles against the specified JDK.
The text was updated successfully, but these errors were encountered:
Thanks for the report. It looks like a missing feature in Windows batch file. Would you consider sending us a PR to fix this? https://github.com/sbt/sbt-launcher-package/blob/master/src/universal/bin/sbt.bat
Sorry, something went wrong.
I'd love to but I am afraid I do not know CMD scripting.
@eed3si9n I'd like to send PR for this fix. I should submit PR against the repository sbt/sbt-launcher-package, right ?
@virpara Yes, please.
@dubaut I already implemented the missing functionality in my fix-sbt-bat branch. Could you please check it out at https://github.com/gladiac1337/sbt-launcher-package/tree/fix-sbt-bat and test it? I already created PR sbt/sbt-launcher-package#272 .
Successfully merging a pull request may close this issue.
steps
sbt version: 1.2.8
problem
As suggested by @eed3si9n in the (closed) issue 4766 I tried to run sbt with the
-java-home
option but it failed with the following error:expectation
sbt compiles against the specified JDK.
notes
The text was updated successfully, but these errors were encountered: