Skip to main content
Inspiring
March 2, 2013
Answered

CF won't start with JDK 1.7

  • March 2, 2013
  • 3 replies
  • 5540 views

Now that CF is certifified for JDK 1.7, I installed the latest update from Adobe and installed JDK 1.7.  However, ColdFusion 9.01 with Hotfix 3 on Windows 2008 will not start.

This is the error in couldfusion-out.log

Error loading: C:\Program Files\Java\jdk1.7.0\jre\bin\server\jvm.dll

I confirmed that the jvm.dll file is there.  When I change the jvm.config file to point back to the original Java path, it starts fine.

Anyone else run into this?

    This topic has been closed for replies.
    Correct answer carl type3

    Copy msvcr100.dll out of JDK 7 and put it in CF9\runtime\bin.

    HTH, Carl.

    3 replies

    bryans31456166
    New Participant
    April 30, 2015

    For Coldfusion 10 running on Windows 2012, I ran into the same issue when I installed Hotfix_015.jar - Coldfusion failed to start with C:\Coldfusion\jre\bin\server\jvm.dll missing.

    To solve the issue

    1. I used a backup to restore Coldfusion 10 before the failed update (i.e. jvm missing) - you can skip this step if your Coldfusion is not broken.

    2. I installed the Java JDK 8 update 11 x64.

    3. Confirm that JDK was installed and that is the version of JAVA by default: Goto command prompt

         C:\java -version

         java version "1.8.0_11"

         Java(TM) SE RunTime Environment ....(truncated output)

    3. Ran the updater again: C:\Coldfusion10\hf-updates\java -jar hotfix_015.jar

    Coldfusion started normally after the update.

    Known Participant
    September 6, 2017

    For anyone else like me that might be reading this old but helpful post, I had the same error message trying to install java 7 on a coworker's 64 bit machine.  My issue was because she had the 32 bit version of CF installed.  (I finally figured this out by looking at the Java VM Name in CF administrator Settings Summary - it didn't have 64 bit in the name).  I installed the 32 bit jdk instead and all is well now.

    BKBK
    Community Expert
    March 3, 2013

    tSpark wrote:

    Now that CF is certifified for JDK 1.7, I installed the latest update from Adobe and installed JDK 1.7.

    However, ColdFusion 9.01 with Hotfix 3 on Windows 2008 will not start.

    This is the error in couldfusion-out.log

    Error loading: C:\Program Files\Java\jdk1.7.0\jre\bin\server\jvm.dll

    Is that really the location of the jvm.dll file? My setting in jvm.config differs from your. It is:  java.home=C:\\Program Files\\java\jdk1.7.0_15\\jre

    carl type3Correct answer
    Brainiac
    March 2, 2013

    Copy msvcr100.dll out of JDK 7 and put it in CF9\runtime\bin.

    HTH, Carl.

    tSparkAuthor
    Inspiring
    March 3, 2013

    Thanks Carl.  Your solution worked.  Very odd that Adobe would not include this in the documentation.

    Of course, even after your fix I ended up having to undo everything because 9.0.1 Hotfix 3 is full of bugs, including this showstopper for us.

    https://bugbase.adobe.com/index.cfm?event=bug&id=3488663

    So disappointed in Adobe's management of ColdFusion lately...

    BKBK
    Community Expert
    March 3, 2013

    tSpark wrote:

    Thanks Carl.  Your solution worked.  Very odd that Adobe would not include this in the documentation.

    Of course, even after your fix I ended up having to undo everything because 9.0.1 Hotfix 3 is full of bugs, including this showstopper for us.

    https://bugbase.adobe.com/index.cfm?event=bug&id=3488663

    So disappointed in Adobe's management of ColdFusion lately...

    You seem to be comparing 2 different things. The bug report you mentioned was filed for a ColdFusion system with update level hf901-00008.jar. If you installed Hotfix 3 according to the instructions, your own update would have been  chf9010003.jar instead!

    Did you notice the 15 in jdk1.7.0_15 in my previous post? Again, the installation instructions for Hotfix 3 do specifically mention that as the reference Java version.