Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with Java 22 #5

Open
RoblKyogre opened this issue Jul 17, 2024 · 6 comments
Open

Incompatible with Java 22 #5

RoblKyogre opened this issue Jul 17, 2024 · 6 comments

Comments

@RoblKyogre
Copy link

RoblKyogre commented Jul 17, 2024

Using Linux (more specifically, Arch Linux with the zen kernel at 6.9.9-zen1-1-zen) with OpenJDK 22.0.1, the resource pack does not show in the pack selection menu, preventing me from using this resource pack. I've only tested this with 1.21 thus far, but I'll see if it is broken in 1.20.6 or not when I have the opportunity.

My guess is it has to do with the extraction protection methods used in the zip file. Opening in Ark or attempting to extract in Dolphin gives me a "Multi-disk zip archives not supported" error, and attempting to run unzip on the file notes that the zipfile "claims to be last disk of a multi-part archive."

@RoblKyogre
Copy link
Author

Tested on 1.20.6, also can’t see the pack there

@RoblKyogre RoblKyogre changed the title Does not work on Linux & Minecraft 1.21 Does not work on Linux Jul 17, 2024
@MopsTMC
Copy link
Owner

MopsTMC commented Jul 17, 2024

Java 22 seems like the incompatibility here, can you attatch a snippet of the log to confirm?
Unfortunately if it is, I can't be of much help

@MopsTMC MopsTMC changed the title Does not work on Linux Incompatible with Java 22 Jul 17, 2024
@RoblKyogre
Copy link
Author

unfortunately, i don’t think i have much of a stable internet connection for the next few days, so don’t think i’ll be able to download java 21 until it improves
in the mean time, here’s a log of it on java 22: https://mclo.gs/OVnldco

@MopsTMC
Copy link
Owner

MopsTMC commented Jul 18, 2024

Yeah, the errors match. I started using the zip extraction protection because the ogg obfuscation stopped working with Mojang's changes in 1.20.5, so to summarise

  • < v3.2 : Incompatible with 1.20.5+
  • ≥ v3.2 : Incompatible with Java 22

@Oregano1963
Copy link

Can confirm with Java 23 and 24 (EA).

@VerMishelb
Copy link

It's not Java 22. I have 21.0.5 installed and the resource pack is not being displayed in the in-game list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants