Affects Version/s: 2.2.2311 (Windows)
Fix Version/s: None
Component/s: Minecraft Launcher
Environment:windows 10 pro
Picked up _JAVA_OPTIONS: -Xmx2G
java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)
After i bought a new pc and tried to install Minecraft I keep getting the same error message.
Error: Could not find or load main class net.minecraft.client.main.Main
Process crashed with exit code 1
I already tried to re-installing Minecraft and it the same thing happened. I checked my drivers, my java version everything up to date. Nothing that I have tried to do helps. I even tried to copy and transfer all files from my desktop. that didn't help either.
I tried to switch the compatibility to older windows version with no luck.