Java for ColdFusion Developers

   

10.1 Configure ColdFusion Server Settings for Java

In order to begin working with Java in any of the ways available, we first need to configure the ColdFusion server. To do so, open the ColdFusion MX Administrator, and click Java and JVM. The Settings window is shown in Figure 10.1. There are a few settings here that require attention.

Figure 10.1. Java and JVM settings in the ColdFusion MX Administrator.

Note

Previous versions of ColdFusion had a setting allowing you to indicate whether to load the JVM automatically when ColdFusion was started. This setting is obsolete; because ColdFusion is Java-based, it must always start the JVM.

Note

It is okay to have multiple versions of the JVM installed concurrently on the same machine.

In the next section, we will write a simple Java class and invoke it from within a ColdFusion template.


   
Top

Категории