perhaps MCL could have list of minecraft versions and minimum-maximum versions of java supported
minecraft 1.12 to 1.16.5 require at least JRE 1.8, but they do work with newer versions e.g. jre 1.11
minecraft below 1.6 don't support JRE 1.8 (iirc)
this bug is NOT about version 1.17
this bug is about JRE version incorrectly evaluated as incompatible
perhaps MCL could have list of minecraft versions and minimum-maximum versions ov java supported
I have similar problem with older versions of MC and different java version than bundled 1.8, reported as [MCL-18710]:
the installed java version (1.11) is marked as incompatible with versions 1.7-1.16, while they all were playable with java 1.11.
Edit: removing JavaCheck.jar helped me too.