A template COBOL program will display in an editor and the program file will be listed in the example folder you specified as part of the package name.
$set ilusing(com.microfocus.example)
class-id com.microfocus.example.JVMWorldClass public.
working-storage section.
method-id main static.
01 class1 type JVMWorldClass.
procedure division using by value args as String occurs any.
set class1 to new JVMWorldClass
invoke class1::instanceMethod
stop run.
end method.
method-id instanceMethod.
procedure division.
display "Hello world".
goback.
end method.
end class.