Question: can you play minecraft with xbox and java?
Answer: No, Xbox is a part of Bedrock Edition, which is a different platform from Java Edition. You can, however, play Windows 10 Edition with Xbox edition, since they are both a part of the Bedrock platform.