When you develop mixed COBOL and Java programs, you need to be aware of the following:
- The default Java build directives that your COBOL development system uses are -d %TARGETDIR -classpath "%$CLASSPATH";%TARGETDIR %FILENAME. The "%$CLASSPATH";%TARGETDIR section of the command appends the currently-specified target directory to the end of the current setting for the CLASSPATH environment variable, retaining any spaces specified in the current setting of CLASSPATH.
- If you specify multiple classes in a .java program, only the resultant .class file with the same basename as the .java program is added to the project automatically. You must add any other .class files manually.