Im currently trying to install forge to play some mods that are only avilable in 1.16.5, and since I would like it to work with OptiFine I downloaded the 36.1.0, installer, it didnt work, so I downloaded the recommended one, it still didint work, maybe the latest version? nop, will still not work, downloaded some more random versions that werent the ones I needed or recommended and it will still crash telling me "Something went wrong while installing: java.lang.NullPointerException"
I keep trying and searching answers for this problem but they will just not work, I dont know what to do, and each answer is completely different, I dont understad why it doesnt work. I would really appreciate if somebody could give me an answer, if it works thanks, if it doesnt well at least you tried helping, thanks!
This is the installer.log in case you need it:
JVM info: Oracle Corporation - 1.8.0_202 - 25.202-b08
java.net.preferIPv4Stack=true
Current Time: 17/05/2024 07:44:51
Host: files.minecraftforge.net [172.67.161.211, 104.21.58.163]
Host: maven.minecraftforge.net [104.21.58.163, 172.67.161.211]
Host: libraries.minecraft.net [13.107.246.69, 13.107.213.69]
Host: launchermeta.mojang.com [13.107.246.71, 13.107.213.71]
Host: piston-meta.mojang.com [13.107.213.41, 13.107.246.41]
Host: sessionserver.mojang.com [13.107.246.69, 13.107.213.69]
Host: authserver.mojang.com [Unknown]
java.lang.NullPointerException
at net.minecraftforge.installer.json.Util.readFully(Util.java:95)
at net.minecraftforge.installer.json.Util.loadInstallProfile(Util.java:30)
at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:178)
at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:154)