camel-k icon indicating copy to clipboard operation
camel-k copied to clipboard

Every component (like the builder) should use Java 21 as it is the current LTS version

Open diegovisentin opened this issue 1 year ago • 2 comments

Requirement

See subject

Problem

Java 21 has been available for a year now and I think it is important to keep this framework updated on a reasonable basis.

Proposal

No response

Open questions

No response

diegovisentin avatar Sep 01 '24 15:09 diegovisentin

It's reasonable. Right now the equipment of JDK is hardcoded in the operator container image (from which it is inherited). We probably need to develop some mechanism to let the user choose which JDK to use or to distribute more container images with different JDKs.

squakez avatar Sep 02 '24 06:09 squakez

JDK 21 is supported to run Camel applications. Basically Camel 4.x is still built and released with JDK 17. So the LTS versions could run with JDK 21 (we have CI job for this), but the Java used to build and release the LTS is the JDK 17.

oscerd avatar Sep 02 '24 07:09 oscerd

This issue has been automatically marked as stale due to 90 days of inactivity. It will be closed if no further activity occurs within 15 days. If you think that’s incorrect or the issue should never stale, please simply write any comment. Thanks for your contributions!

github-actions[bot] avatar Dec 13 '24 00:12 github-actions[bot]

@diegovisentin you can test this using the JDK21 container image in nightly release in https://hub.docker.com/r/testcamelk/camel-k/tags - upcoming 2.6.0 will be provided with JDK21 as well, feel free to run a round of tests and let us know.

squakez avatar Jan 27 '25 22:01 squakez