Enterprise has made a big investment in Java. Once you build out a significant code base in a language, you are less likely to throw it all out.
Also in the Enterprise space, Oracle is a dominant database, and they have made some strong features for Java when it comes to the Oracle database. Having these features and someone you can call for support is good business and good risk protection for larger companies.