Question: can xbox one minecraft play with java?
Answer: Java Edition and the Edition that runs on Xbox One are not compatible and you can't cross-play or share worlds. If you want a cross-platform way to play together it will have to be Bedrock Edition on the PC - for which you should have a free key if you bought long ago - as well as the Xbox Ones.