Question: how to get minecraft java edition if you have windows 10?
Answer: "Players who have purchased Minecraft: Java Edition before October 19th, 2018 can get Minecraft for Windows 10 for free by visiting their Mojang account. Log into account.mojang.com, and under the “My Games” heading you will find a button to claim your gift code.