It depends what you mean by Java? You have the language, the runtime platform, the ecosystem and the then there's the EE world.
Java EE is dead and not before time. Sure there's still good money to be made helping "Enterprise" customers too big and too slow to change course. The whole idea that one standard (designed by committee) can provide the ideal architecture for a vast array of different things enterprise apps require should have seemed laughable from the start.
The Java the language is also looking a bit long in the tooth. It's still perfectly usable. It's just a bit verbose to work with compared to the alternatives. Java 8 was a small step in the right direction but feels like too little too late. MS has been much better at evolving C# than Sun & Oracle have been with doing with Java. In the last decade, it feels like Java has survived despite its creators rather than because of them.
The runtime is pretty solid as is the eco system. So with languages such as Scala and now Kotlin its easy to take advantage of all the good parts of the Java world without having to stay stuck with the bad. Which I guess is testimony to the quality of the original design.
The company I work for has switched to using Kotlin for its main product from Java. Its 100% interoperable so we are just upgrading it a package at a time (there are decent auto conversion tools as well). Writing new code in Kotlin has been a breath of fresh air.