apache / camel-k

Apache Camel K is a lightweight integration platform, born on Kubernetes, with serverless superpowers
https://camel.apache.org/camel-k
Apache License 2.0
868 stars 348 forks source link

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

Open diegovisentin opened 2 months ago

diegovisentin commented 2 months ago

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

squakez commented 2 months ago

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.

oscerd commented 2 months ago

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.