The problem with .NET Core compared to Java is that it's still less portable at the moment - it doesn't work on any of the BSDs, for example. Someone's working on it, though.
As recently as 10 years ago you could only run Java on BSDs through the Linux compatibility layer. And Java's been around as a cross platform project since 1996.
https://github.com/dotnet/coreclr/issues/18067