This topic describes how to run the "Hello World" and "Hello CICS
World" sample programs to verify that Java has been successfully installed
and set up in a CICS region.
To verify your Java installation, follow the steps below to set up
and run the supplied sample programs.
- Build the sample programs using the following steps:
- Define the environment variables PATH, CICS_HOME and JAVA_HOME. Instructions on what to define for each variable are described in Building the JCICS sample programs.
- Install the group DFH$JVM in order to run the samples.
- Build the Java samples, as described in Building the Java samples.
- Add $CICS_HOME/samples/dfjcics to
the end of the Java™ classpath, ibm.jvm.shareable.application.class.path,
in the default JVM properties file, dfjjvmpr.props.
- Run the Hello World samples using the steps outlined in Running the Hello World samples
If you have any problems running the Java sample programs, do the
following: