They're going to be doing so for decades to come, either from Oracle itself, or someone who's paying Oracle truckloads of licensing fees to be allowed to publish their own Java implementation.
The only thing that could upset their subscription to money would be some inconvenient little company that decides to make a clean-room Java implementation that could target the same customers. This is what Google has done.
If they can win this in court or force a settlement that pretty much guarantees that anyone thinking of building that business model won't even bother to get off the ground, and Oracle can keep printing money.
It's funny that you should mention COBOL. Java turning into the next COBOL would be awesome for Oracle. IBM still makes billions selling systems to run COBOL[1], that's more than Sun ever made off Java.
Mainframes promise turnkey-reliability, where the IBM support guy comes in before you notice anything going wrong. The point is that "mainframe" is a strong brand and IBM has the monopoly on it. There are solutions magnitudes cheaper and just as reliable as a mainframe.
The message Oracle wants to send is pretty clear: if you want to use Java in the mobile and enterprise space, you're going to have to buy one of our very nice support contracts. Considering that this is par for the course for most enterprise platforms and mobile (until Google wrote Dalvik), why would previous licensees make the costly decision to switch?
That's the result of their bonus policies. If your bonuses reflect short-term earnings, that's the kind of earning your company will generate.
OTOH, this and the Google lawsuit are so completely boneheaded, I would not be surprised the people responsible for it end up like Rick Belluzzo or Sandeep Gupta - in nice positions at Microsoft properties. Even the lawyers are the straight out of the SCO lawsuit...
If Oracle continues with this kind of ruthlessness, they may squeeze several million out of Google et al, but Java is done for. Nobody will want to use that platform anymore because it will be too risky legally. It'd be a huge opening for .NET and other competitors. Java would go the way of COBOL, only running in the darkest abysses of megacorporations that never modernize.
You can be happy that Ellison doesn't play this "good for developers" thing, but what's good for the goose is good for the gander. By promoting software development and Java development specifically, Oracle would be ensuring generations of Java programmers, and lots of Java-related services and licenses from enterprises. If someone without any programming experience learns Java to write code for Dalvik/Android, as they may because Android is a "cool" platform that would attract young programmers, they can and likely will go on to big corporate environments and continue to work in Java.