Python seems to be headed this way, as well. People tend to forget that Python is almost 30 years old already. That it's held up this long, and that it's still being developed and maintained strongly suggests it will continue to be a viable language in the industry for many more years.
There is still plenty of new development going on in Java, and I hope that continues. But I'd be afraid that if Java is all you know, you're going to increasingly be stuck on critical legacy JEE / Spring apps at banks, insurance companies, etc. Right now that's okay - there's still a lot of innovation in these frameworks. But in 10-15 years, it might be the worst kind of gig left, stuck with offshored and contracting teams of the lowest bidder.
Do keep in mind that the industry has exploded in size over the years.