The story in a nutshell is there's a complex ecosystem that sits around developing applications and making money off of them ? And Microsoft has shown itself pretty good time and again at figuring out how people can make money off of its products.
There are a lot of people in the world that can make software, but there are very few people in the world that can make money off of software,
The future of Java is to become an underlying programming framework that nobody makes any money on. It becomes a commodity.