It may be because I'm still feeling the glow Java had when I learnt it in the late 1990's, but I really like a lot of things about it. It's a very simple, safe and easy to use language, it's C++ without the broken glass, it's C with automatic memory allocation, bounds checking and a nicer package/interface system. API's are separated and enforced. It used to be bemoaned as slow ("knock knock" "who's there" "................java"), and now it's seen as fast. That's pretty cool (it's partly because it's relatively faster than python... but it also has been made actually faster).
Many early adopters left it for python/ruby a few years ago when the small language that Java was became uglier with extensions, esp generics and annotations. Perhaps an important reason people left is because it became successful, and it became associated with unpleasant mindless corporate programming.
If you care at all about what qualities a language needs to have in order to be wildly adopted, Java has something to teach. Some people say it was just Sun's marketing... but Sun marketed it as a web language (applets), and it never took off there.
That's the succinct version of my first thought: "Because one was too busy making something instead of learning languages for their own sake."
java+libraries: 13,600,000 results
php+libraries: 32,200,000 results
I would highly recommend against selecting a technology because you want to weed out applicants who are misfits. A better option would be to have a strong hiring process.
If you are a good programmer without a job, it will definitely help you as there are plenty of Java jobs available in the market now.
I have personally come across a couple of startups, started by smart engineers from MIT/Stanford, which suffered because they found excuses not to do their work in Java and do it in Ruby/PHP. One of them ended up rewriting everything in Java (which made their initial 6 months of development a throwaway) and sadly, another one got stalled. Am not implying that its better than other languages as each language has its own pros and cons. However, you will not know if it can serve your specific purpose better because you don't know what you don't know.