Question: how to buy minecraft java code?
Answer: You can buy Minecraft Java Edition from Minecraft.net for $26.95 USD or local currency equivalent. You can learn more about pricing here. This is a one time purchase. You can buy an account for yourself, or buy a code to give away.