I think the place where java still shines is JVM.There are myriads of JVM implementations out there which is suited for all kinds of purposes.And with the same flexibility ,there are functional languages like Scala or Clojure which targets JVM where all existing java libraries can be used for your new shiny language of choice.Of course .NET has F# or DLR (which I feel is another layer added on top of CLR and I couldn't like it).
What I see is .net has ports for most of the java frameworks or libraries e.g spring,hibernate,lucene,akka you name it. With .NET core being open and F# and C# being super awesome on it's territories (yes am biased :) ) ,we may have good contender to java in some more time.
Oddly, SUN got purchased by one of the few companies everyone hates more than Microsoft. That paired with MS's recent shift to open source and opening the dotNet platform has led to softer view of Microsoft overall.
And our log files had to be localized, which while Java is not perfect, few if any string interpolation libraries match it for being able to deal with written languages that have a different sentence structure than English. It was hard work and one of my coworkers had to invent a new linter to detect unlocalized text in our code, but I couldn't imagine fulfilling those requirements in another language.
PS4 (MonoGame/Mono) XBox One (.NET Core on the future and MonoGame/Mono)
At least you can run c# code on those platforms. Java though is unlikely to ever happen.
.NET Microframework makes it runnable on IoT.
I'm also pretty sure that embedded Java is widely deployed in IoT applications.
They only go far enough to bait and switch you and then after they get you they cut funding for maintenance and the cross platform bits rot away.
Java' documentation as I remember it is still better than Microsoft's.
In the java world there's something similar, but it is no designed from the start for several high-level language flavors.
OpenJDK still was a threat, so they're (MS) more inclined now to open source NET Core.
Today you can choose Java & NetBeans over .NET and V.Studio and will see only minor differences. I mean in tooling and architecture. Today Java seems closer to Open Source than MS, even if MS is "trying". Java & Netbeans are the same on Windows or Linux, of course NET is not.