Java is a horrid language and it’s here to stay. I don’t understand your point.
Also, when Java first came out, people loved it because it was way more productive than C or C++ for a lot of things because of the presence of garbage collection, and the simple type system.