Java is far far from the next COBOL. It is still my first choice when I want to choose a technology that will run for the next 20 years with minimal amount of code maintenance.
Plus, in fact, I get the distinct impression that your second sentence describes what COBOL actually did for companies decades ago, so the first one makes it sound like a contradiction.
So it is basically the next COBOL ;-)