You're comparing unequal things. OpenJDK was a community effort, while .NET Core is maintained primarily by Microsoft themselves. The correct comparison would be to .NET's community based alternative, which is Mono. Mono in turn had it's initial release in June 30, 2004, which is _13 years ago_, and 3 years before OpenJDK itself.
Further, note that Oracle only open sourced Java a year after Microsoft did .NET Core. One might even argue that Oracle only did so _because_ of .NET Core.
I'll note that I'm replying because I'm getting tired of Oracle's marketing campaigns on this forum.