Skip to main content
June 26, 2013
Question

Lockdown CF10 says update JVM, but admin info still shows old version: how do I sync it?

  • June 26, 2013
  • 2 replies
  • 1205 views

The lockdown guide for CF10 says to update JVM. After doing that on the machine, the CF administrator information still shows the older CF10 installation version. How do I sync the machine installation with CF10? Do I need a second installation in the ColdFusion10/jre folder?

This topic has been closed for replies.

2 replies

pete_freitag
Participating Frequently
June 26, 2013

Login to the ColdFusion administrator and click on "Java and JVM" under "Server Settings" on the left nav. Then update the Java Virtual Machine Path to point to the JVM that you just installed, for example "C:/Program Files/Java/jdk1.7.X_XX/jre"

June 26, 2013

I seem to have broken my administrator. After I changed the path to "C:\Program Files (x86)\Java\jre7", I stopped the service and it would not restart. I did not put the path in quotation marks. The administartor accepted the change. How do I reverse this since I can't get back into the administrator since the service will not restart.

Carl Von Stetten
Legend
June 26, 2013

First, you will need to get ColdFusion pointing back to the original JVM.  Open the jvm.config file found at C:\ColdFusion10\cfusion\bin using a text editor.  Near the top of the file, look for the line that starts with "java.home=".  Change the path to "C:\\ColdFusion10\\jre" (don't use quotation marks around the path).  Save and close the file.  Now try starting ColdFusion.

Second, you can't use the Java JRE that comes in the standard Java consumer download.  You need to download the Java SE Development Kit (JDK), which contains the JRE and some server components that ColdFusion needs.  You can get the JDK here: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html.  Download and install the appropriate JDK for your operating system.  You should now have both a "jre7" and a "jdk1.7.0_XX" folder inside of "C:\Program Files (x86)\Java".  Now follow Peter's suggestion on updating the JVM setting in CF Administrator.

-Carl V.

Carl Von Stetten
Legend
June 26, 2013

How did you update the JVM?  Can you be specific?  You should definitely NOT need a second installation in the ColdFusion10/jre folder.

-Carl V.