You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2026/10/06 16:40:15 UTC
[PR] ci: run the integration tests on Java 21, which the Camel JBang launcher needs [camel-kamelets]
davsclaus opened a new pull request, #3091:
URL: https://github.com/apache/camel-kamelets/pull/3091
_Claude Code on behalf of Claus Ibsen._
The Integration Tests workflow fails in its "Run Tests" step, before any test runs:
```
[jbang] [ERROR] No suitable JDK was found for requested version: 21
```
The step runs `jbang camel@apache/camel`. Camel's JBang launcher (`dsl/camel-jbang/camel-jbang-main/dist/CamelJBang.java`) has declared `//JAVA 21+` since CAMEL-23112, which dropped JDK 17. The workflow sets up JDK 17, and the JBang it installs (0.142.0 today) stops instead of providing a JDK 21. Seen on #3089 and #3090.
This sets up Java 21 for that workflow only. The Maven builds stay on 17: Camel is still compiled for Java 17 (class version 61), and the catalog builds and tests run there.
The integration tests on this PR are the check.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ci: give JBang the Java 21 the Camel launcher needs, and keep the integration tests on 17 [camel-kamelets]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #3091:
URL: https://github.com/apache/camel-kamelets/pull/3091
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org