Repeat your steps. There is a problem with the identify of the latest version of JRE. On this my problems ended. Removed 1.6 through the Control Panel windows. Install minecraft — works, launched JRE settings in the control panel — works. In About version is 1.7.
We will think about your problem.
Windows 11 Pro Insider, x64