Setting up Java support
Perform the basic setup tasks to support Java™ in your CICS® region and configure a JVM server to run Java applications.
Before you begin
About this task
Procedure
-
Set the JVMPROFILEDIR system initialization
parameter to a suitable directory in z/OS
UNIX where you want to store the JVM profiles that are used by
the CICS region.
For more information, see Setting the location for the JVM profiles.
- Ensure that your CICS region
has enough memory to run Java applications.
For more information, see Setting the memory limits for Java.
-
Give your CICS region permission to access the resources
that are held in z/OS
UNIX, including your JVM profiles, directories, and files that
are required to create JVMs.
For more information, see Giving CICS regions access to z/OS UNIX directories and files.
-
Set up a JVM server.
You can configure a JVM server to run different workloads. For more information, see Setting up a JVM server.
- Optional:
Enable a Java security manager to protect a Java application from performing potentially unsafe actions.
For more information, see Enabling a Java security manager.
-
Set the
JAVA_DUMP_TDUMP_PATTERN
unformatted storage dump parameter.The dump is written to a sequential MVS data set, which can be changed by specifying a value for the environment variableJAVA_DUMP_TDUMP_PATTERN
. Ensure that the CICS region user ID has UPDATE access to data sets matching this pattern, otherwise diagnostic data is lost. For more information, see Using dump agents on z/OS.