-
Notifications
You must be signed in to change notification settings - Fork 163
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
jbang --java 17 when default is java 11 build integration fails #1084
Comments
Well, that's logical, the user might specify |
Yeah it's logical; but I tell you that even though i wrote the damn thing it took me about 15 tries of trying out tons of stuff before it clicked :) |
I've just bumped into the same problem, Java 8 set as default version to run JBang, Java 11 set in the script and during the build error happens, just with different versions. |
no progress on it yet, but we know the solution.
|
Checks if the requested Java version is the same as the one JBang is using and if not it will start a sub process to handle the integration with the correct JDK. Fixes jbangdev#1084
See #1290 :-) |
Checks if the requested Java version is the same as the one JBang is using and if not it will start a sub process to handle the integration with the correct JDK. Fixes jbangdev#1084
Checks if the requested Java version is the same as the one JBang is using and if not it will start a sub process to handle the integration with the correct JDK. Fixes jbangdev#1084
Describe the bug
Have java 11 in system path.
Run
jbang --java 17 https://gist.github.com/rivasdiaz/f2e9efd1bf2079f0101f865846af2502
and you get error aboutas if it compiles with java 17 but then falls back to running quarkus build integration with java 11...
solution would be to run that integration externally when jbang is running with lower version.
or at least help with info to user on what is happening.
The text was updated successfully, but these errors were encountered: