A table of Java versions supported by given ColdFusion versions
You can't just use "any" jvm version with CF: it depends on first on what version of CF you are using, and then may even depend on what CF update has been applied to that CF version. (You also can't use Java from any vendor: Adobe supports only use of Java, and the license it for our use, I discuss later.) And to be clear, currently ONLY CF2025 supports Java 21.
So in this post, I offer a table that clarifies things, listing the various recent CF versions (even those no longer supported) and what (LTS) Java versions they supported, including if some CF update of a version changes the Java version supported.