This section describes how to write programs to customize a Java™ Virtual
Machine (JVM). The normal way to customize JVMs is by specifying options in
the JVM profile, and system properties in the JVM properties file. Java Applications in CICS® tells
you how to do this. There are three additional ways to customize JVMs:
- You can create Java classes that intercept the stdout and stderr output
from a JVM, add time stamps and record headers, and redirect the output to
the destination of your choice. Writing Java classes to redirect JVM stdout and stderr output tells you how to do
this.
- You can define Language Environment® run-time options for
the Language Environment enclave in which a JVM runs, by using
the DFHJVMRO user-replaceable program. You should only need to do this in
exceptional circumstances. Using DFHJVMRO to modify the Language Environment enclave for a JVM tells you how to do this.
- You can override the options in a JVM profile by using a program, DFHJVMAT,
that can be called when the JVM is launched. You can only call DFHJVMAT for
a single-use JVM, that is, with a JVM profile that specifies REUSE=NO or the
older option Xresettable=NO (for example, the supplied sample JVM
profile DFHJVMPS). You should consider using DFHJVMAT only if you need to
tailor a single-use JVM in a way that can't be achieved by specifying options
in the JVM profile. Using DFHJVMAT to modify options in a JVM profile tells you how to do this.

[[ Contents Previous Page | Next Page Index ]]