It does work with the Java version, at least theoretically. If you click on it and you're not using the absolute most up to date version of the client, it will tell you you need to update, so since I don't play vanilla on the Java version, I can't confirm.
I did use Realms on my Win10 version and it was a lovely experience. At first. Until people started getting booted randomly, invisible blocks would pop up and livestock would spontaneously combust. And since there are no backups, those ended up being harbingers of that world's apocalypse.