Posted December 30, 20231 yr Hello. [I am on Mac 10.14.6, x64 processor] I have downloaded the file forge-1.17.1-37.1.1-installer.jar from the Forge site for 1.17.1 I launch the jar file ; The "Install client" choice is already checked ; I click on "OK" (the directory for the forge is correct -> Users/.../Library/Application Support/minecraft) The installation starts, but it produces an error at around 60%-> Failed to run processor: java.io.EOFException: Unexpected end of ZLIB input streamjava.io.EOFException:Unexpected end of ZLIB Here is the part of the log when the issue comes: java.io.EOFException: Unexpected end of ZLIB input stream at java.base/java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:244) at java.base/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158) at java.base/java.util.zip.ZipInputStream.read(ZipInputStream.java:196) at java.base/java.io.FilterInputStream.read(FilterInputStream.java:106) at net.minecraftforge.jarsplitter.ConsoleTool.copy(ConsoleTool.java:149) at net.minecraftforge.jarsplitter.ConsoleTool.main(ConsoleTool.java:122) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at net.minecraftforge.installer.actions.PostProcessors.process(PostProcessors.java:226) at net.minecraftforge.installer.actions.ClientInstall.run(ClientInstall.java:144) at net.minecraftforge.installer.InstallerPanel.run(InstallerPanel.java:423) at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:175) at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:147) Failed to run processor: java.io.EOFException:Unexpected end of ZLIB input stream See log for more details. I saw some threads about the same error, but I didn't find the solution to my problem. Hypotheses : - My Java is outdated -> I don't think it's true since I've installed the JDK 17. When I type java -version in the Mac terminal, it gives me this : java version "17.0.9" 2023-10-17 LTS Java(TM) SE Runtime Environment (build 17.0.9+11-LTS-201) Java HotSpot(TM) 64-Bit Server VM (build 17.0.9+11-LTS-201, mixed mode, sharing) - Either my Java is "corrupted" or my Forge Installer is -> I've tried to reinstall the Forge Installer, and it seems fine. For the Java, I haven't done it yet since it's longer to reinstall and I don't know if it's enough to just uninstall first and install after - There is an issue in the minecraft files, or something lacking. I don't know what to do. N.B. : I tried to install Forge for 1.16.5 and 1.20 -> it was successful ! I'm surprised that 1.20 works, maybe there is an issue with Java 16. I'm telling that because 1.18+ need Java 17 and 1.12-1.16 need Java 8-> see https://minecraft.fandom.com/wiki/Tutorials/Update_Java#Why_update? If anyone could help me to solve that problem, I would be grateful 😀 Edited December 30, 20231 yr by Vat1n new informations
December 30, 20231 yr Quote See log for more details. You don't show the log. See the faq for how to find it. Post it to a file sharing site. But assuming you don't have a broken zlib version, e.g. https://github.com/madler/zlib/issues/634 that error usually just means the file is incomplete/truncated. Probably because something wasn't fully downloaded? Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
December 30, 20231 yr Author Here is a WeTransfert link to download the log : https://we.tl/t-AWzbAhj4Yu Or an alternative to WeTransfert (MCLO GS, used by Aternos) : https://mclo.gs/8Mwsbzf Also, I've have added something at the end of my post, just after you answered : Quote N.B. : I tried to install Forge for 1.16.5 and 1.20 -> it was successful ! I'm surprised that 1.20 works, maybe there is an issue with Java 16. I'm telling that because 1.18+ need Java 17 and 1.12-1.16 need Java 8 Maybe it can help to understand my issue. Concerning zlib, I know it's a file zip/unziper, but is it installed by default on Mac (Mojave for my case) or do we have to install it ?
December 30, 20231 yr The place where it is failing is splitting the actual minecraft jar This suggests you have previously downloaded incomplete/wrong jars: Quote Cache: /Users/********/Library/Application Support/minecraft/libraries/net/minecraft/client/1.17.1-20210706.113038/client-1.17.1-20210706.113038-slim.jar Expected: b8de6b6dc0fc88232d974bdaaf085c56145277b1 Actual: 6fea6138f9efc64ca0305358ee193b1bf7156d1f /Users/********/Library/Application Support/minecraft/libraries/net/minecraft/client/1.17.1-20210706.113038/client-1.17.1-20210706.113038-extra.jar Expected: 483cfeb6029f2d180f740af4ea7ecb3613182772 Actual: 7f4f531901edaa66089ff7e5b4be7280e8835015 Notice the checksums don't match. You could maybe try deleting those files to see if redownloading them fixes the problem. The installer itself (regardless of minecraft version) should work with any version of java8+ That is provided you are using an up-to-date release of that java and not an old release from 5 to 10 years ago. I can't help with Mac sys admin. I've never owned a mac. Even if I did, questions about MacOS should be asked in forums that specialise in that knowledge. Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
December 30, 20231 yr I guess you should also check your minecraft/versions/1.17.1.jar has the correct checksum as well? According to this, https://piston-meta.mojang.com/v1/packages/e0e7ab5ed6f55bbd874ef95be3c9356d67e64b57/1.17.1.json that client jar should have sha1 checksum 8d9b65467c7913fcf6f5b2e729d44a1e00fde150 Edited December 30, 20231 yr by warjort Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
December 30, 20231 yr Author Good news, I successfully installed 1.17.1 Forge. Actually, the solution was really easy, I had to : Go to the .../minecraft/versions ; Remove the 1.17.1 and 1.17.1-forge-37.1.1 directories ; launch the Forge Installer and finally launch the Minecraft Launcher. It was that simple. The jars were indeed badly wrote. Thanks a lot for the help warjort ! 😀
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.