That sounds a lot like what people are saying about PHP and its newer versions. But the thing is, now that we have great alternatives (Kotlin, C#, Scala, Go, Dart...), what does Java have that those don't?
Millions and millions of people using them. High quality (and in many cases user friendly and familiar, too) tools built around them, several options, even.
A virtual machine backed by decades of development and millions of person-hours