So i tried installing and then reinstalling the right version still gives me that error when i try to run the exe file. It shows in the console only when i open the Jar fileNot sure if it is the problem but it may be right there in front of you. The first few lines are a warning that it couldn't detect 64 bit java.
Turns out i have two, the bottom one being for MCStart Menu -> type 'Java' -> open Java admin app -> 'Java' tab -> click 'View' button. What do you see? You ought to have an active x86_64 version (and hopefully only one).
View attachment 9566