I'm familiar with both Java and .NET worlds and for a recent product had to pick one. I ended up picking Kotlin (JVM) only because the team I'm working with are more proficient in Java but I must admit, C# looked incredibly tempting technologically.
Java won't go away any time soon but C#/.NET seems to be under better and more determined leadership.