Like 2 days ago, I was playing on 1.12.2 modded with Optifine, and the game started lagging, so I restarted my PC. When I tried to launch it again, a crash occured, and a message popped up: "An unexpected issue occured and the game has crashed." (Vanilla and modded crashes just alike). It's been like that since then, tried some solutions I found on Youtube/Google, but without any success. I can launch 1.13.2, but only Vanilla (Optifine version crashes the same way). Log says: "Process crashed with exit code 127"
I can post the whole log if needed.
Please help me find a solution!
Thanks in advance.
EDIT: Found a solution if anyone else has the same problem. Basically I just switched from Java 11 to Java 8. Look it up on a how-to, I just messed around till it worked.