Whenever I'm trying to run my mod, it says "Error: Could not create the Java Virtual Machine \n Error: A fatal exception has occured. Program will exit", while the console says "Unrecognized option: -Xincgc".
I tried to reinstall Java, creating a completely new Mod (because I may have lost some files due to downgrade from win11 to 10, i thought this was the issue, it wasnt.) and it still gives me this error.