Run ColdFusion 9 with Java JDK 7

Java has recently put out a patch that certifies ColdFusion 9 to run with Java JDK 1.7.0_15 or newer. After applying the patch, upgrading to Java JDK 1.7.0_21, and manually copying a DLL, this ColdFusion 9.0.1 installation finally runs with Java JDK 7.

While your version of ColdFusion may be different, here are the basic steps for ColdFusion 9.0.1

ColdFusion 9.0.1 Cumulative Updates While ColdFusion 9.0.1 Cumulative Hotfix 3 (release date: Feburary 27 2013) includes support for Google Maps JavaScript API v3 and JDK 1.7 Update 15. This cumulative hotfix is specific to ColdFusion 9.0.1. Use ColdFusion 9.0.1 Cumulative hot fix 4 (Release date: March 8 2013) includes support for Google Maps JavaScript API v3 and JDK 1.7 Update 15. This cumulative hot fix also includes few fixes that were not part of the previous hot fix. This cumulative hot fix is specific to ColdFusion 9.0.1. Again, the download link to ColdFusion 9.0.1 Cumulative hot fix 4. One can either read through the entire update process and manually apply the fixes as per the instructions or alternately, use another method for updating the ColdFusion server,a third-party too called Unoffical Updater 2. On a development server and after building the JAR file, the update succeeded in 25 seconds.

Java JDK 7 Download and install Java JDK 7 build 15 or newer from Oracle.

For ColdFusion to use the newer version and new installation of Java, this could be accomplished by either using the ColdFusion administrator or by editing the C:\ColdFusion9\runtime\bin\jvm.config file. To edit the jvm.config file, stop the ColdFusion services. Open the file with your favorite text editor. Change the default java.home to the new location and save the file.

coldfusion9jdk7-01

After applying all the updates to ColdFusion and after upgrading to Java JDK 7 build 21. ColdFusion 9 Application Server would not start. A possible solution was offered in this forum to copy C:\Java\jdk1.7.0_21\jre\bin\msvcr100.dll out of JDK 7 and put it in CF9\runtime\bin. After applying this work-a-round to the install, the ColdFusion 9 Application Server started without error.

coldfusion9jdk7-03

While in ColdFusion Administrator, the System Information reflects that the Java Version is 1.7.0_21.

coldfusion9jdk7-02