Skip to main content
Inspiring
November 15, 2024
Question

CF2021 Update 16

  • November 15, 2024
  • 3 replies
  • 741 views

While reviewing the technotes for Update 16, I noticed a mention about keeping the JDK updated. I understand that ColdFusion supports Java 11, and according to the ColdFusion documentation, it supports versions up to 11.0.25. Currently, I am running Java 11.0.11.

 

My questions are:

 

  1. Is there a need to upgrade to a newer version of the JDK?
  2. Has anyone encountered any significant issues or challenges during the upgrade process?

 

Additionally, if I install the new JDK using the .exe file, can I simply update the path to the /jre folder in the ColdFusion Administrator, restart the server, and test the changes? If there are any issues, would it be possible to revert to the previous version without complications?

    3 replies

    Charlie Arehart
    Community Expert
    Community Expert
    February 1, 2025

    Richard and Rick, have you both resolved your problems so that you can update to that latest Java? You should be able to: updating the Java underlying cf to the latest update of the version it supports has worked and is working for others currently with these latest versions you refer to.

     

    If the solution for your situation is not what's been offered so far, there are still other possible explanations. Rather than bore you/readers herebwith that, let's hear how it's gone for you so far. 

    /Charlie (troubleshooter, carehart. org)
    BKBK
    Community Expert
    Community Expert
    January 31, 2025
    quote

    ...I understand that ColdFusion supports Java 11, and according to the ColdFusion documentation, it supports versions up to 11.0.25. Currently, I am running Java 11.0.11.

     

    My questions are:

     

    1. Is there a need to upgrade to a newer version of the JDK?
    2. Has anyone encountered any significant issues or challenges during the upgrade process?

     

     

    By @rickmaz

     

    1.  Yes, there is a need to upgrade to a new Java version. As you can see from the Java 11 release notes, there have been many changes and hot fixes since v11.0.11. But you should upgrade ColdFusion 2021's Java according to instructions or advice from Adobe's ColdFusion team.
    2.  Yes, some ColdFusion 2021 developers have faced issues resulting from an upgrade of Java 11. See, for example, @richardl96961282 's posts in this thread.
    Vikram Kumar M
    Community Manager
    Community Manager
    November 15, 2024

    @rickmaz  You can continue using JDK 11.0.11, but the server may be vulnerable. We recommend upgrading to 11.0.25. 

     

    Follow the below article to upgrade the JDK:

     

    https://coldfusion.adobe.com/2023/08/upgrade-jdk-version-coldfusion-server-updated/

     

    Thanks,

    Vikram

    Participant
    January 30, 2025

    I was running ColdFusion 2021 Enterprise (not sure which update version) on AWS, and was having serious issues with 11.0.25.  Had to downgrade to 11.0.21.  Any other reports of similar issues ?

    Participant
    January 30, 2025

    Just to provide additional details...The CF version is 2021.0.18.330341, and the issue is occurring with CFHTTP tag.  The error that is occurring is being displayed after executing CFHTTP and doing a <cfdump var="#cfhttp#">.  The page is not loading since the very next line is looking at cfhttp.responseheader.status_code, which doesn't exist sine the CFHTTP failed.  This is the error shown in the cfdump of cfhttp:

     

    I/O Exception: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

     

    Note that with JRE 11.0.21, this error is not occurring.  Only with 11.0.25, so it should not be a certificate issue.