Microfocus has a cobol to jvm transpiler.
Issue is that cobol often relies on intricacies of specific mainframes or cobol implementations so it's never quite that simple.
Also a lot of cobol directly interfaces with databases with side effects which makes it ever harder.