java版本導(dǎo)致不能啟動(dòng),1.16.5
?[cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.2, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui]
?[cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 11.0.18?by Oracle Corporation
[java.lang.ThreadGroup:uncaughtException:1050]: java.lang.NoSuchMethodError: sun.security.util.ManifestEntryVerifier.<init>(Ljava/util/jar/Manifest;)V
解決方案(由炸鴨提供):不要用?Java?11,用?Java?8u312?或更早版本。因?yàn)樵缙?forge?1.16.5?用了?Java?內(nèi)部特性。11.0.13?也行,但是?11.0.14?就不行了。
標(biāo)簽: