All COBOL programs for use with Java must be linked to the multi-threaded run-time system.
To do this, use the -t cob flag.