January 4, 2021
A table of what Java versions can be used with what ColdFusion versions
Comments
(2)
January 4, 2021
A table of what Java versions can be used with what ColdFusion versions
ColdFusion troubleshooter
Wizard 131 posts
Followers: 93 people
(2)

[Posted originally in Jan 2021, updated in Mar 2021, to add a link to info on what JVM versions are supported, as well as how to find what JVM version you are currently running and where to get Java installers from Adobe.]

You may wonder which version of Java you can use with your current or a planned version of ColdFusion. It depends on first on what version of CF you are using, and what CF update has been applied to that CF instance.

In this post, I offer a table that clarified things, listing the various recent CF versions (even those no longer supported) and what Java version they supported, based on what CF update had been applied.

The info below is current as of the date of this post, Jan 2021. I plan to update it as information changes.

FWIW, I originally offered this information within a longer 2019 post on new Java updates that were released then (in Apr 2019), but I’ve pulled this table to stand on its own. I plan to offer a separate post with some more details related to all this, as its not specific to any particular Java update:

CF Version Java 13+ Java 12 Java 11 Java 10 Java 9 Java 8 Java 7 Java 6
CF2021 Not currently Yes Yes NO NO NO NO NO
CF2018 Not currently Yes
(if CF2018 update 5
or later)
Yes
(if CF2018 update 2
or later)
Yes NO NO NO NO
CF2016 NO  Yes
(if CF2016 update 12
or later)
Yes
(if CF2016 update 8
or later)
NO NO Yes NO NO
CF11 NO NO NO NO NO Yes
(if CF11 update 3
or later)
Yes NO
CF10 NO NO NO NO NO Yes
(if CF10 update 14
or later)
Yes
(if CF10 update 8
or later)
Yes
CF9 NO NO NO NO NO NO See below Yes

Again, I will update this post as things change over time.

As for downloading the latest Java installer or archives, see the Adobe CF “downloads” page (which is not for downloading CF, but things related to CF), and specifically the list of Java installation files that current CF versions support offered at the bottom.

How do I know what JVM version I am currently running?

I mentioned already that I have done a past post (and plan future posts) with more details, but this one is worth pulling out here: naturally you may wonder, “well, what JVM version am I running now?

The easiest way to tell is to go into your CF Admin, and view either the Settings>Settings Summary page or the “System Information” page (the “i” icon in the top right of the admin). On those pages, about 10-20 lines from the top is a section on JVM details, and it will report what JVM version you are currently using.

See the last section (conclusion) for more that I cover on that older post (and plan to elaborate on in future ones).

Finally, if you’re still running CF9…

Actually, if you are running anything less than CF2018 in 2021, you should know that you are running on a CF version that is no longer updated by Adobe (Cf2016 updates ended in Feb 2021).

But as what I noted in the table above, as for CF9 and when Java 7 support was added, that’s a touch complicated. It’s still worth clarifying here, for those still running CF9 (sadly, they’re still out there, despite the grave security risk that CF 9 has not gotten updates since 2013). And though it came out supporting Java 6 and later added  support for Java 7, even that Java 7 has not been updated in years.

But for those determined to stick with CF9, note that first there were both new point release installers (like 9.0.2) as well as hotfixes and cumulative hotfixes which could be applied to that or 9.0.1 and 9.0.0–and they were different CHFs for each version, and you needed to be careful which you applied. If you would need to update CF9 to get this updated Java 7 support, this post is not the place to belabor that, but I did a 2014 blog post that covered things to beware. As for which CF9 version/installer used allowed for moving to Java 7, here’s the detail:

Conclusion

Finally, if you may have still other questions related to CF and Java versions (such as about Java 9 and 10, or 12 and above, or Adobe licensing of Oracle Java, or on how Adobe does NOT support JVMs other than those from Oracle, etc.), see the previous post where I first shared this table and more. While it was about a specific Java update in 2019, I addressed a lot more of those details and questions.

Again, I plan to create at some point a new post (perhaps on my own site) pulling in and updating many of those details, so that it stands on its own. When I do that, I will replace the link in this paragraph with a reference to that.

I welcome comments and feedback.


For more blog posts from Charlie Arehart, see his posts here as well as his posts at carehart.org. And follow him on Twitter and other social media as carehart.

2 Comments
2021-11-19 15:06:34
2021-11-19 15:06:34

This is very helpful.  Updating my JRE fixed my “I/O Exception: peer not authenticated” error I was getting in ColdFusion.  Thanks!

Like
(1)
>
Chad Armond_872
's comment
2021-11-19 18:11:39
2021-11-19 18:11:39
>
Chad Armond_872
's comment

Thanks for the kind regards, Chad. Glad to have helped.

Like
Add Comment