Skip to main content
Participant
March 17, 2011
Answered

CF9.0.1 - Updating 32-bit JRE on 64-bit Windows

  • March 17, 2011
  • 1 reply
  • 3608 views

Hi all,

Based on this security alert (http://kb2.adobe.com/cps/894/cpsid_89440.html), I am looking to upgrade my CF 9.0.1 install from the default JRE 1.6_17 to 1.6_24.

On my Windows 7 64 / CF9.0.1 64 development system I simply downloaded the 64-bit JRE, installed and pointed CF at the newly installed JRE (via the CF admin). All worked flawlessly.

My testing server (Windows Server 2008 Standard SP1 64-bit) is currently running CF 9.0.1 32-bit. I downloaded the 32-bit JRE (jre-6u24-windows-i586) and ran the installed it to C:\Java\jre6. Additionally, based on the note found here: http://www.oracle.com/technetwork/java/javase/install-windows-64-142952.html

  • The public JRE installed with the 32-bit JRE is not registered. You must set the PATHenvironment variable to point to JAVA_HOME \bin to register the JRE.
  • I added C:\Java\jre6\bin\ to my PATH via the control panel.

    Going to the command line (at c:\> ) and typing "java -version" provides:

    java version "1.6.0_24"

    Java(TM) SE Runtime Environment (build 1.6.0_24-b07)

    Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)

    So now, I go to the CF Admin -> Java and JVM and reset the

    The server shuts down and then fails to restart. The Windows Application log shows: "The ColdFusion 9 Application Server service could not be started.  Check the server "coldfusion" log files for more information."

    If I revert back to the JVM in C:\Coldfusion9\runtime\jre the server restarts normally.

    Any ideas?

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

      Hi Billy,

      Download from Oracle Java developer kit (not runtime):

      http://www.oracle.com/technetwork/java/javase/downloads/index.html

      Install that via running EXE you downloaded - default install will be fine.

      Stop CF - SERVICES.msc stop "ColdFusion 9 Application Server".

      Take a copy of CF\runtime\bin\jvm.config - so you got a backup.

      Edit CF\runtime\bin\jvm.config find line "java.home=" and comment it out eg:

      #java.home=C:/ColdFusion9/runtime/jre

      Add new line like so and save jvm.config:

      java.home=C:/Program Files/Java/jdk1.6.0_24/jre

      Note  there the slashes and the location of the JRE (runtime) - you need to  point to the one in JDK because the other JRE in C:\Program  Files\Java\jre6 will be missing a DLL.

      Start CF via SERVICES.msc.

      HTH, Carl.

      1 reply

      carl type3Correct answer
      Legend
      March 17, 2011

      Hi Billy,

      Download from Oracle Java developer kit (not runtime):

      http://www.oracle.com/technetwork/java/javase/downloads/index.html

      Install that via running EXE you downloaded - default install will be fine.

      Stop CF - SERVICES.msc stop "ColdFusion 9 Application Server".

      Take a copy of CF\runtime\bin\jvm.config - so you got a backup.

      Edit CF\runtime\bin\jvm.config find line "java.home=" and comment it out eg:

      #java.home=C:/ColdFusion9/runtime/jre

      Add new line like so and save jvm.config:

      java.home=C:/Program Files/Java/jdk1.6.0_24/jre

      Note  there the slashes and the location of the JRE (runtime) - you need to  point to the one in JDK because the other JRE in C:\Program  Files\Java\jre6 will be missing a DLL.

      Start CF via SERVICES.msc.

      HTH, Carl.

      Participant
      March 18, 2011

      Thank you this worked perfectly.