I had to use Java in a few places and I got to understand why it is loved so much by hiring managers and bean counters.
The very authors of Java called it "C++ --". They took C++ and cut off the sources of 90% of the bugs encountered in C++ (pointers and operator overloading), added garbage collection, effectively baby-proofing the language.
This lead to non-crashing code being written by really bad programmers that are cheap to hire. The trouble is that the pointy-haired bosses of the programming industry believe that all it takes for code to work is not to crash.
In fact, some of the pointy-haired bosses even decided to try their hand at programming in Java, ended up with non-crashing code, and concluded that "it's easy".
The end result is that large programs (systems?) written in Java have much crappier code than C++ by the time they finally start to crash. But the programmers that are maintaining these projects are much cheaper to hire than the ones for equivalent projects written in C++.