Deploying remote Java applications
Remote Java™ client applications are deployed to the runtime environment as Java Archive (.jar) files.
You are licensed to copy the following files to the computer that is running the Java client application:
- For non-JEE applications, copy the file ctgclient.jar.
- For JEE applications in a managed environment, copy the resource adapters (RAR files) in the <install_path>/deployable directory.
- For JEE applications in a nonmanaged environment, copy the following files in the
<install_path>/classes
directory:
cicsjee.jar ctgclient.jar ccf2.jar
Ensure that any JAR files that you copy are listed on the class path of the remote computer.
Java Client applications
The Java Virtual Machine (JVM) uses the CLASSPATH environment variable to find classes and zip or jar archives containing classes. To allow the JVM to access class files, specify the full path of directories containing class files or archives.
To compile and run Java applications on a client machine, add the full path of ctgclient.jar to the CLASSPATH environment variable. This archive is in the <install_path>/classes directory. The JEE resource adapters are in the <install_path>/deployable directory.
You must use a supported version of Java for running Java Client applications, a supported version of Java is provided on the CICS® Transaction Gateway DVD, or as part of the product download.