No matter which version I download (latest, recommended, etc.) every version of Forge 1.19.2 gives me exit code 1 when I try starting the game, even with an empty mods and config folder. Forge 1.19.4 works flawlessly, and so does the vanilla version of 1.19.2, so I'm really not sure what's happening here. So far, I have tried reinstalling Java, MineCraft, and deleted my old .MineCraft folder to get a new one.
The version of Java I have installed is jdk-17
debug.log (pastebin)
latest.log (pastebin)