Specifying the JVM

You can override the default JVM used by CICS® Transaction Gateway.

By default, CICS Transaction Gateway uses the JVM which is installed in <install_path>/jvm17. You can override the default java as described below

Windows

To set the JVM used by CICS Transaction Gateway, use the ctgjava command from an administrator level command prompt.

To specify which JVM CICS Transaction Gateway uses:
ctgjava -s=jvmlocation

where jvmlocation is the fully qualified path name of the Java™ executable file.

If the path name contains spaces, enclose it in quotation marks. For example:
ctgjava -s="C:/Program Files/IBM/CICS Transaction Gateway/jvm17/bin/java.exe"
To check which JVM CICS Transaction Gateway uses:
ctgjava -v

To have a JVM selected automatically:

ctgjava -a

UNIX and Linux

Use the environment variable CTG_JAVA to specify the JVM used by the CICS Transaction Gateway. When you specify CTG_JAVA you must specify the full path and name of the Java launcher program. For example,
  • AIX®, Solaris and HP-UX
    export CTG_JAVA=/opt/IBM/cicstg/jvm17/bin/java
  • Linux
    export CTG_JAVA=/opt/ibm/cicstg/jvm17/bin/java

Information Information

Feedback


Timestamp icon Last updated: Tuesday, 19 November 2013


https://ut-ilnx-r4.hursley.ibm.com/tg_latest/help/topic/com.ibm.cics.tg.doc//ctgunx/setjvm.html