I have tried 3 different 1.16.5 modpacks (enigmatica 6, FTB university and FTB academy) and none will work. I have tried both java 8 and 11 both from Oracle and from eclipse adoptium and directly referencing them in the .bat file and still get the same result. I can run stoneblock 2 1.12.2 server just fine but nothing so far on 1.16.5.
Enigmatica 6 log- https://pastebin.com/vYAv5WQc
FTB University log-https://pastebin.com/mZUCMd3W both university and academy look the same to me so I only included one of them
Edit: I have figured it out by changing to jdk 8u311 instead of 321/322
Also is there a better place to get these java downloads besides creating a fake business account.