Amend the value of the JAVA-PACKAGE-NAME directive for your COBOL program before recompiling. The rules are that the package name must start with a $,_ or A-Z, or a-z; the remainder of the package name can contain these characters, in addition to 0-9.