Skip to main content
March 5, 2013
Question

java update install problem

  • March 5, 2013
  • 1 reply
  • 988 views

We have a server with Cold Fusion 9.0.1274733 with the Cumulative Hotfix # 2 on it (chf9010002.jar).

I recently installed Java 7 Update 15 on it (1.7.0_15), but Cold Fusion Administrator still sees the older version of Java.

The jvm config shows the path as C:\ColdFusion9\runtime\jre, which is pointing to a 1.6.0_17.

So, I went into the jvm config file and pointed the java home directory to C:\Program Files\Java\jre7, but with this path, the Cold Fusion service will not start.

Any suggestions?

    This topic has been closed for replies.

    1 reply

    Carl Von Stetten
    Legend
    March 5, 2013

    @lwfg,

    I see two problems: you aren't using the correct JRE, and you shouldn't have to manually edit the jvm.config file.

    For Windows installations, you need to download and install the Java SE JDK (Java Development Kit) from Oracle, not just the Java Client JRE (this is the one installed on most computers and comes from Java.com).  Once you install the JDK, you'll need to point ColdFusion to the JRE inside the JDK.

    The easier way to point ColdFusion to a new JVM is through the ColdFusion Administrator.  Revert your jvm.config file back to pointing to C:\ColdFusion9\runtime\jre so you can get ColdFusion to start properly.  Then go into the Administrator, navigate to the "Java and JVM" section under "Server Settings".  Change the Java Virtual Machine Path to point to your Java 7 JDK installation.

    -Carl V.

    Inspiring
    March 7, 2013

    @lwfg It is not clear which version of CF9 you are on, 9.0.0 or 9.0.1 (CF9 with udpate 1).

    You can try diagnosing the problem by observing the output when you start CF from the Windows command prompt (jrun start <cf_instance_name>).

    And yes, as noted by Carl, you should install JDK instead of JRE for reasons mentioned at http://helpx.adobe.com/coldfusion/kb/change-coldfusion-jvm.html.