Changes that you could make

In some cases, you might find that the options in the sample JVM profiles and JVM properties files need to be changed to fit the needs of a particular application, or of your CICS region.

JVM profiles (JVMPROFILE attribute) gives an overview of the options that are available for you to change in the JVM profiles and JVM properties files. Note that if any changes are required to fit with the setup of your CICS region (for example, if you are required to enable Java 2 security), you need to make the same changes to the supplied sample JVM profiles DFHJVMPR and DFHJVMCD and their associated JVM properties files. DFHJVMPR is used if a Java program is defined as using a JVM but no JVM profile is specified, and it is used for sample programs. DFHJVMCD is used by CICS-supplied system programs, including the default request processor program (DFJIIRP) and the program that CICS uses to publish and retract deployed JAR files (DFJIIRQ, the CICS-key equivalent of DFJIIRP). Both these JVM profiles therefore need to be configured so that they can be used in your CICS region.

Among other things, you might want to make the following changes:
Note: In some previous versions of CICS, you could use the -Xquickstart option (specified using the Xservice option) in a JVM profile to reduce the startup time for the JVM. However, with improvements in JVM technology, the -Xquickstart option is now permanently enabled, and specifying -Xquickstart in a JVM profile has no effect.

For further information, the CICS System Definition Guide has the full lists of options that you can specify using JVM profiles and JVM properties files, and “The sample JVM profiles and JVM properties files” in the CICS System Definition Guide gives the full text of the CICS-supplied sample files.

If you want to change any of the options in the JVM profiles or JVM properties files, you can either customize the CICS-supplied sample files, or create your own JVM profiles or JVM properties files. Customizing or creating JVM profiles and JVM properties files tells you how to do this.

If you do not want to change any of the options specified in the JVM profiles or JVM properties files, and you have specific applications (standard Java programs, CORBA stateless objects or enterprise beans) to run, Enabling applications to use a JVM tells you how to set up applications to use a JVM profile, and how to add the classes for the application to the class paths. If you are following a procedure to set up IIOP support or support for enterprise beans, and you do not yet have any specific applications to run, you can return to the procedure Setting up the host system for IIOP or Setting up an EJB server.