Upgrade JDK version ColdFusion Server Updated
In this blog, we discuss how to upgrade to the latest minor version of the JDK(Java Development Kit) for the ColdFusion server. ColdFusion can run only on top of the JDK or JRE with the Server VM. There are two ways to change the JDK or Server JRE of the ColdFusion server:
- Using the ColdFusion Administrator Console.
- By changing the JDK or Server JRE path in the jvm.config file.
-
Using the ColdFusion Administrator Console.
- Download the latest minor version of the supported JDK.
- Install the JDK. (There are 2 installers available – exe and zip.)
- Navigate to ColdFusion Administrator > Server Settings > Java and JVM section.
- Browse to the path to the JDK from the “Java Virtual Machine Path” text box that you intend to use with ColdFusion.
- Click “Submit Changes”.
- Restart the ColdFusion Application service.
- Below are the screenshots for the JDK exe installer:

- For the JDK zip installer, extract it to a directory and point the Java and JVM to it. Example: C:/jdk-11.0.19_windows-x64_bin/jdk-11.0.19
-
By changing the JDK or Server JRE path in the jvm.config file
- Download the latest minor version of the supported JDK.
- Install the JDK.
- Open jvm.config file located at /cfusion/bin.
- Change the value of home to the JDK or Server JRE path. [For example: C:/Program Files/Java/jdk-11.0.19 or C:/Program Files/Java/jdk11.0.19]
- Save the changes to the config file.
- Restart the ColdFusion Application service.

Updating Add-On Services:
- Navigate to ColdFusion/cfusion/jetty
- Edit the jetty.lax file and update value of “lax.nl.current.vm”
- Point to the updated JDK.
- Restart Add-On Services.

Important Note:
- It is not recommended to change the JDK version on the production servers without any prior testing in the staging environment.
- Any SSL certificates added to the previous JDK will also need to be re-added to the new JDK(cacerts) file.
For upgrading JDK in API Manager, refer to this article: https://coldfusion.adobe.com/2024/07/how-to-change-the-default-java-in-api-manager/https://coldfusion.adobe.com/2024/07/how-to-change-the-default-java-in-api-manager/
To upgrade JDK in PMT, follow the steps below:
- Download the latest minor version of the supported JDK.
- Install the JDK.
- Open jvm.config file located at PMT_Intstall/config.
- Change the value of home to the JDK or Server JRE path. [For example: C:/Program Files/Java/jdk-11.0.19 or C:/Program Files/Java/jdk11.0.19]
- Save the changes to the config file.
- Restart the ColdFusion-PMT-Services.
For .NET (as it can interact with any Java components, pointing the java.home in CF works):
- Stop the ColdFusion .NET Service.
- Stop the ColdFusion Application Server service.
- Update the existing java.home entry in jvm.config to the new JDK location.
- Start the ColdFusion .NET Service.
- Start the ColdFusion Application Server service.
- Verify the running ColdFusion JVM’s Java version and test the application’s .NET integration calls.
In this blog, we discuss how to upgrade to the latest minor version of the JDK(Java Development Kit) for the ColdFusion server. ColdFusion can run only on top of the JDK or JRE with the Server VM. There are two ways to change the JDK or Server JRE of the ColdFusion server:
- Using the ColdFusion Administrator Console.
- By changing the JDK or Server JRE path in the jvm.config file.
-
Using the ColdFusion Administrator Console.
- Download the latest minor version of the supported JDK.
- Install the JDK. (There are 2 installers available – exe and zip.)
- Navigate to ColdFusion Administrator > Server Settings > Java and JVM section.
- Browse to the path to the JDK from the “Java Virtual Machine Path” text box that you intend to use with ColdFusion.
- Click “Submit Changes”.
- Restart the ColdFusion Application service.
- Below are the screenshots for the JDK exe installer:

- For the JDK zip installer, extract it to a directory and point the Java and JVM to it. Example: C:/jdk-11.0.19_windows-x64_bin/jdk-11.0.19
-
By changing the JDK or Server JRE path in the jvm.config file
- Download the latest minor version of the supported JDK.
- Install the JDK.
- Open jvm.config file located at /cfusion/bin.
- Change the value of home to the JDK or Server JRE path. [For example: C:/Program Files/Java/jdk-11.0.19 or C:/Program Files/Java/jdk11.0.19]
- Save the changes to the config file.
- Restart the ColdFusion Application service.

Updating Add-On Services:
- Navigate to ColdFusion/cfusion/jetty
- Edit the jetty.lax file and update value of “lax.nl.current.vm”
- Point to the updated JDK.
- Restart Add-On Services.

Important Note:
- It is not recommended to change the JDK version on the production servers without any prior testing in the staging environment.
- Any SSL certificates added to the previous JDK will also need to be re-added to the new JDK(cacerts) file.
For upgrading JDK in API Manager, refer to this article: https://coldfusion.adobe.com/2024/07/how-to-change-the-default-java-in-api-manager/https://coldfusion.adobe.com/2024/07/how-to-change-the-default-java-in-api-manager/
To upgrade JDK in PMT, follow the steps below:
- Download the latest minor version of the supported JDK.
- Install the JDK.
- Open jvm.config file located at PMT_Intstall/config.
- Change the value of home to the JDK or Server JRE path. [For example: C:/Program Files/Java/jdk-11.0.19 or C:/Program Files/Java/jdk11.0.19]
- Save the changes to the config file.
- Restart the ColdFusion-PMT-Services.
For .NET (as it can interact with any Java components, pointing the java.home in CF works):
- Stop the ColdFusion .NET Service.
- Stop the ColdFusion Application Server service.
- Update the existing java.home entry in jvm.config to the new JDK location.
- Start the ColdFusion .NET Service.
- Start the ColdFusion Application Server service.
- Verify the running ColdFusion JVM’s Java version and test the application’s .NET integration calls.
- Most Recent
- Most Relevant




