Short term they make more money if the only lose 9 out of 10 clients. But long term the loss in mind share might do a lot of damage. Java's biggest selling point is that everyone (or at least every enterprise) is using Java. If they manage to push people away they will just lose to C# as the industry slowly shifts to greener pastures.
Of course you can also make money on Cobol, and IBM presumably makes decent money on System Z mainframes. So in the short term it might be great.