The JVM (Java Virtual Machine) and Java Settings page lets you specify a number of settings that enables ColdFusion to work with Java. To specify settings on this page, follow these steps:
To access the JVM and Settings page, click Server>JVM and Java Settings. The JVM and Java Settings page appears.
In the JVM and Settings page, specify one or more of the following options:
Option |
Description |
Default |
Java Virtual Machine Path. |
In this text box, specify the location of the Java virtual machine (JVM). |
JVM is installed in the ColdFusion directory structure. |
Initial and Maximum Heap Size |
The settings in the Initial and Maximum Heap size text boxes determine the memory range used by the JVM. |
Inital: 1024K Max: 16384K |
Load JVM when starting ColdFusion |
When enabled, the JVM is loaded automatically when ColdFusion starts up. When disabled, the JVM is loaded at the first request that utilizes Java. |
Enabled (checked) |
Class Path |
In this text box, specify the class-path for the JVM. Separate multiple directories with semi-colons (for Windows platforms) or colons (for UNIX platforms). |
Blank |
System Options |
In this text box, specify any standard JVM initialization options as name-value pairs separated by space(s). For example, java.lang.Compiler=NONE java.security.manager=java.rmi.RMISecurityManager |
Blank |
Implementation Options |
In this text box, specify any implementation specific JVM initialization options separated by space(s). For example, -verbose:gc -Xincgc |
Blank |
CFX Jar Path |
In this text box, specify the location of the ColdFusion cfx.jar file which contains interfaces used by Java CFXs. |
C:\Cfusion\java\classes |
To apply and save the JVM and Java settings, click Submit Changes.