One of the blockers on the long road to getting java 17 fully supported was the removal of the nashorn javascript engine in java 15, as the build uses some javascript for various steps. We do dogfood Lucee for some major steps, but the javascript scriptx engine is much faster for little things
Full Java 17 support is slated for a 6.x release and yes like everything else itās a question of resources, if people want to dive in and work on the known issues, that would be welcome.
Tomcat 10 and the javax / servlet namespace changes are really problematic and these issues cascade thru all the extensions and downstream libraries we use, as such thatās probably going to require a major release.
Our current focus is supporting 5.4 and getting the first 6.0 release finalised
We should also note that Lucee comes with Java from the Eclipse Adoptium working group.
Their Java 11 version is also supported longer than the Oracle version which is EOL later this year.
From what I can see on their website this Java 11 version is supported until at least 2027. Their versions and supported dates are listed on this page:
Technically Java 11 was eol last year (Sept), but oracle still provides updates (one just last month), for:
those using it with licensed oracle products,
or who have obtained a license for its use (as is the case for acf users, for whom adobe has licensed it),
or for development or personal use
Still, yes, for lucee users, youād want to use an openjdk to get updates.
Fwiw, formally adobe does not support use of openjdk with acf, but as some may already know they offer updates to jdk 11 and 17 (and even 8, as the api manager still runs on it) at Download ColdFusion updates, add-ons, and developer tools, and oracle also offers updates for 11 and 8 at the bottom of Java Downloads | Oracle, though thatās easily missed.
As far as Iāve read and heard at cfcamp, Lucee 6 is already supporting Java 21, but Iām not an official speaker for the Lucee Team. See Michas latest comment at: https://luceeserver.atlassian.net/browse/LDEV-3807
Iām pretty sure the downloads for those version need to get updated. Would be nice, if someone could officially post a note about it.
As you can see, the Java 21 support ist pretty recent as of Lucee 6.2. The Lucee Team still needs to create all the builds, get a fresh Tomcat, etc to make them available all together as download. Iām sure they have it planned pretty soon, or maybe someone else with Tomcat experience may be able to help them to do the switch as an open source contribution.
Update: managed to make Lucee (6.2.0.10) run on Java 21 (OpenJDK/Eclipse Adoptium), and it runs stable for now.
Couldnāt upgrade Tomcat however, not even to version 9.0.90.
Still, itās great progress! Hopefully J21 will be included in the next stable release.