After installing Minecraft Java on your Windows device, you may see the error below:
This is a technical issue related to your Windows installation.
To fix this issue, please follow the solutions shown in the video below:
If the fixes above don't work then try the solution below:
1) You need to uninstall the current Minecraft launcher.
2) Then go to the download link at https://www.minecraft.net/en-us/download and look under "NEED A DIFFERENT FLAVOR?". The download for Windows 7/8 is right there.