How To Install a ColdFusion Update (Hotfix)


#1

There are many methods available for installing the latest update(aka hotfix) for ColdFusion. I recommend the manual installation method as the most reliable method, and it’s what we’ll cover in this article. First, you’ll see a GIF illustration of the process, then I’ll cover the details of the process in text.

Prepare

We strongly recommend that you backup your ColdFusion install just before installing the latest update. This is usually as simple as copying the ColdFusion install directory to another location. The updater will also take its own backups and includes an uninstaller.jar file for rolling back updates, but we recommend taking another backup just in case something goes wrong with that process.

Install

1. Get the updater jar file

The first step in manually updating ColdFusion is to get the updater jar file itself. The easiest way to accomplish this is within the ColdFusion admin by opening the Server Updates page and clicking Download next to an available update. This will automatically download the latest hotfix/update for your version of ColdFusion. Important: make note of where the file is downloaded to because you’ll need it later.

If you don’t have access to the ColdFusion admin, you can download the update manually from Adobe on the ColdFusion Updates page.

2. Run the jar with java

Next, you’ll want to launch the updater with administrative privileges. On Windows, launch cmd as administrator. On Linux, use sudo to escalate your privileges. When you’re finished downloading the file and launching an administrative command shell, run the below command.

java -jar <path to jar file>

If you get an error that is not a recognized command, then you will need to either update your system environment Path variable or you can specify the full path to the java executable.

Once you run the updater, you should be met with a GUI on Windows or a text-based menu on Linux.

3. Finish the installer

Once you’re in the interactive update installer, step through the process just as you would with a normal installer. Here’s a brief overview.

  1. Provide the correct ColdFusion install location. The updater will assume a default location based on your operating system, and usually, it’s correct. If you have an atypical ColdFusion install then you’ll need to provide the custom install path. The installer will not continue if the install path is invalid.
  2. Review and accept the terms and conditions.
  3. If you’re using multi-instance, then you can select which instances you would like to update at this time.
  4. Wait for the installer to finish and confirm that the update was successful

Once complete, you should see the update directory and update log within <cf install path>/<instance name>/hf-updates/<update id>.

Congratulations! You’ve successfully installed the latest update for ColdFusion. If you have any issues with this process, then our world-class team of ColdFusion experts can help. Contact us for more information.