So I wanted to make this post because I had this very problem, all of the tutorials on YouTube are outdated and don't work. I will give an updated guide on how to fix it.
1. Go to your search browser, search up "java 21 download" then install it. -(must be java 21)
2. Open the java launcher then install java.
3. Open the MINECRAFT launcher, navigate to installations, you will probably have something called "latest release." Hover your mouse over it then press the 3 dots, then press edit
4. Press more options, then navigate to where it says "java executable," press browse and navigate to your java folder. It will normally be in program files.
5. Click the java folder then press the folder that will say something like "jdk-21," then press the item called bin. Then find the item called "java" with nothing else on the end. Double click it then press save.

That is how I managed to fix my Minecraft because it took me a couple weeks to figure out. I hope this helps

Voir le contenu lié