Dear Dev Team, I made a temporary fix for this. The logs said
JRE version: OpenJDK Runtime Environment Microsoft-32931 (17.0.3+7) (build 17.0.3+7-LTS) So I thought to try a different JRE and pass it to the Java Executable field in the Edit Installation menu in the launcher. Before this, my PC did not have Java installed. So I fetched the latest Java 8 which turned out to be incompatible, then I uninstalled it and installed the latest Java 17 "Java SE Development Kit 17.0.7 (64-bit)". Using this my game is now able to launch normally. But I would like to not have to do this process at every Minecraft update and have the game work with the JRE likely included in the launcher. So please do look into this. Regards.
Dear Dev Team,
I made a temporary fix for this.
The logs said
JRE version: OpenJDK Runtime Environment Microsoft-32931 (17.0.3+7) (build 17.0.3+7-LTS)
So I thought to try a different JRE and pass it to the Java Executable field in the Edit Installation menu in the launcher.
Before this, my PC did not have Java installed. So I fetched the latest Java 8 which turned out to be incompatible,
then I uninstalled it and installed the latest Java 17 "Java SE Development Kit 17.0.7 (64-bit)".
Using this my game is now able to launch normally.
But I would like to not have to do this process at every Minecraft update and have the game work with the JRE likely included in the launcher.
So please do look into this.
Regards.