( Related Java bug database entry) It might help if you move the ModLoaderInstaller into a directory whose path doesn't contain any exclamation marks, and try to run it from there. Seems like Java doesn't like that for some reason.
JAVA JARFIX INSTALL
Net/minecraft/client/renderer/LevelRenderer.m_172993_(Lnet/minecraft/client/renderer/RenderType Lcom/mojang/blaze3d/vertex/PoseStack DDDLcom/mojang/math/Matrix4f )V aload Search Java 16 on the web and install it.Minecraft 1.17 needs the Java 16 SDK to work.When you have Java 16 installed.Open your Minecraft Launcher,go to settings and find Java path.The current version selected should be Java 8.Click browse and Navigate to C:\Program Files\Java\jdk-16.0.1\bin and select the javaw.exe file in it.Now try launching your server again. I'm almost certain that the cause is that exclamation mark in your windows username. I tried JarFix a few times, uninstalled and reinstalled my forge and OF installations multiple times and kept running jarfix, but I only kept having the same crashes. jar file is located > Press Shift+right-click on the optifine. Navigate to the folder where the optifine. On your search bar, type command prompt and select 'run as administrator'. If your device does not carry Java files then. Apologies if the suggested methods didnt work for you. The OF installation works just fine with no crashing, just without my mods. Jarfix is a Windows software product that is essential for recapturing jar associations and works with Java. (The game crashed whilst initializing game Error: : Bad local variable type Exit Code: -1)
Rvery time I try to launch my Forge installation it gives me a crash. I have OptiFine in the mods folder, and downloaded OptiForge mod as well.