For what it's worth, I'm in the process of converting one of our components from JavaScript to Java because it is incredibly fragile, difficult to modify, and everyone hates working with it. Not everyone is forced to use Java.
I really like Java actually, although we do make use of things like Lombok pretty heavily to reduce the boilerplate, enforce using inheritance very sparsely, and use immutable value types wherever possible (although sadly this is the part that gets ignored most often) - doing those things greatly improves the experience of using Java.