I think Java is the new COBOL, but that isn’t necessarily a bad thing. Java is the enterprise standard programming language. There isn’t anything fundamentally wrong with Java.
COBOL, on the other hand, was a pretty awkward language to use. It has never been pretty. So the world rejoiced when Java effectively replaced it.