Question: how to play minecraft java edition on xbox?
Answer: Unfortunately, Minecraft Java cannot play with anyone except the people on their own platform. You must be mistaking it for the “bedrock” edition, which has the better together feature enabled, allowing xbox players to play with anyone who owns the bedrock edition.