Upgrading ColdFusion Java on Windows


Upgrading ColdFusion Java on Windows

by Christopher Kaukis

I made the attempt to upgrade the Java Runtime used on one of our ColdFusion servers to the latest Java 1.6 Runtime. I thought it would be a simple, download the latest JRE, install, update the jvm.config java.home variable to point at the new JRE, and then restart ColdFusion. It wasn’t.

ColdFusion did not want to start back up after I updated the JRE it was using. First thing I did was check the log file (in runtime/logs/coldfusion-err.log) and I saw this:

Error loading: C:javajre6binserverjvm.dll

Ok, so, what is this? Why is it missing? Where do I get it?

After much effort and time, I finally found the solution. ColdFusion requires the Java HotSpot Server VM, not included in the standard Windows Client JRE. However, it is included in the JDK’s JRE. So, instead of downloading and installing the JRE you must get the JDK and tell ColdFusion to use the JDK’s JRE. 

How did I find this out? It was in a paragraph on the lower half of the Java 6 README, around line 170 where it references jre/bin/server.


So, after downloading and installing the full JDK, our java.home variable in our jvm.config looked like this:


Started up the ColdFusion service and all was well.

More About the Author

Christopher Kaukis

Software Engineer
Running a Jekyll Blog Using Github Pages on Mac OS X 10.8 Mountain Lion In my last post I described installing Ruby on Mac OS X with RVM. The main reason I wanted to do this was to run a Jekyll Blog using ...
Installing Ruby 2.0.0 with RVM and Homebrew on Mac OS X 10.8 Mountain Lion This is a tutorial on how to install Ruby 2.0.0 on Mac OS X 10.8 Mountain Lion.  1. Install Xcode and the Command Line Tools If you ...

See more from this author →

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK


Interworks GmbH
Ratinger Straße 9
40213 Düsseldorf
Geschäftsführer: Mel Stephenson

Kontaktaufnahme: markus@interworks.eu
Telefon: +49 (0)211 5408 5301

Amtsgericht Düsseldorf HRB 79752
UstldNr: DE 313 353 072


Love our blog? You should see our emails. Sign up for our newsletter!