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
Running programs
Setting environment variables
related references
JVM options (Persistent Reusable Java Virtual Machine User's Guide)