Java is fine. It did lag a little behind there for a few years, but the last two Java releases have really pulled things together. I will say C# is still my preferred language just for quality of life reasons, and I also feel like Java has been largely relegated to either web-backend or enterprise desktops. There is no practical way to deliver a Java application to an consumer now, Java Applets are "dead" and running…
Could you explain the "quality of life" bit? Are you saying that if you programmed in Java life would be hellish?
Although it is a little out of date in some areas (for both languages).
C# has been stealing from F# for several versions now, so we get all kinds of nice shorthand for accomplishing sometimes complex operations.