Under Windows®, you can have more than one Java™ Virtual Machine (JVM) installed on a machine. If so, applications must know which one to use. The ctgjava command allows you to view or alter the JVM used by the CICS® Universal Client. The examples in this information use the dash character (-); you may use either the dash (-) or the forward slash (⁄).
Issue this command to find out which JVM the CICS Universal Client is set to use:
ctgjava -v
Issue this command to auto configure the JVM for the CICS Universal Client:
ctgjava -a
On Windows Vista to configure Java for CICS Universal Client the ctgjava utility
must be invoked from an elevated command prompt.
ctgjava -s=jvmlocation
where jvmlocation is the fully qualified path name of the Java executable file.
ctgjava -s="C:\Program Files\IBM\Java15\bin\java.exe"
On Windows Vista to configure Java for CICS Universal Client the ctgjava utility
must be invoked from an elevated command prompt.