Occasionally you may be required, for performance or security reasons, to update your ColdFusion JVM. This is a relatively simple process but as this can cause the ColdFusion application server service to stop operating, please follow these steps accordingly.
- Confirm your ColdFusion Version and Java JVM version
- Confirm whether you are running 64 bit or 32 bit ColdFusion.
- Download the appropriate (Windows x86 for 32bit, Windows x64 for 64 bit) version of the latest ColdFusion supported Java JDK kit: 1.6.0_38
- Install this JDK. If prompted to restart your server, do so.
- Navigate to the Java install folder and browse to the JRE sub-directory. If you installed with default settings this path is: C:\Program Files\Java\jdk1.6.0_30\jre
- Open your CF administration site and go to Server Settings > Java and JVM
- Paste in the path to the new JRE directory and before saving, replace the back-slashes with forward slashes (ex: C:/Program Files/Java/jdk1.6.0_30/jre )
- Submit these changes
- Restart the ColdFusion Application Server service using the services snap in.
- If this service fails to restart, you can recover your installation by doing the following:
- Navigate to your ColdFusion installation directory (ex: C:\ColdFusion9) and open the runtime and then bin subdirectories (C:\Coldfusion9\runtime\bin)
- Locate a file called jvm.config and change this name to preserve the file
- Locate the file jvm.bak and rename it to jvm.config
- Restart your ColdFusion Application Server service