Question: can you get minecraft java if you have bedrock?
Answer: No, You are unable to buy Windows 10 (Bedrock Edition) and get Java Edition for free.