This is a story from some parallel universe right here. You bought a microsoft game and wasn't able to run it on windows, but it works on ubuntu?!? I almost spilled coffee reading this.
Sadly, I don’t find it even a little bit surprising.
The problem was you probably ended up falling for the UWP version instead of the Java version. The Java version remains the community accepted “proper” version to this day.
How did it take two hours to install on windows 10?
it probably didn't work right away and two hours was spent on troubleshooting