August 17, 2023
Upgrade JDK version ColdFusion Server Updated
Comments
(0)
August 17, 2023
Upgrade JDK version ColdFusion Server Updated
Staff 6 posts
Followers: 0 people
(0)

In this blog, we discuss how to upgrade the latest minor version of JDK(Java Development Kit) of the ColdFusion server. ColdFusion can run only on top of JDK or JRE with Server VM.

There are two ways to change the JDK or Server JRE of the ColdFusion server:

  1. Using ColdFusion administrator console.
  2. By changing the JDK or Server JRE path from the jvm.config file.
  1. Using 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 the path to the JDK from the “Java Virtual Machine Path” textbox which you intended 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 to a directory and point the Java and JVM to it. Example: C:/jdk-11.0.19_windows-x64_bin/jdk-11.0.19
  1. By changing the JDK or Server JRE path from the jvm.config file

 

  • Download the latest minor version of the supported JDK.
  • Install the JDK.
  • Open jvm.config file located at <cf_install_root>/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<version>cfusionjetty
  • 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.
0 Comments
Add Comment