If the first routine of a mixed COBOL and Java application is a COBOL program, run the application by specifying the program name at the command prompt. If a JVM is not already running in the process of the COBOL program, the COBOL run time automatically initializes a JVM.
To customize the initialization of the JVM, specify options by setting the COBJVMINITOPTIONS environment variable. Use blanks to separate options. For example:
export COBJVMINITOPTIONS="-Xms10000000 -Xmx20000000 -verbose:gc"
related tasks
Using IBM SDK for z/OS, Java 2 Technology Edition
Running COBOL programs under UNIX
Setting and accessing environment variables
related references
Persistent Reusable Java Virtual Machine User's Guide
WebSphere for z/OS: Applications (Java Naming and Directory Interface (JNDI))