Closed YisuiDenghua closed 11 months ago
I failed to launch it after I update my OS to 23.05.20221205.6e51c97, before that I was using 23.05.20221127.a115bb9 and it works fine. I'm not familiar with Fabric loader, could you please tell me how to solve the problem?
Finally I figured it out. The latest NixOS uses OpenJDK 19, which couldn't launch Infinity. I solved the problem by installing an OpenJDK 17. Hope you can adapt to OpenJDK 19 as soon as possible, regards!
Next time a NixOS upgrade breaks something, create an issue in Nixpkgs first. We should abstain from bugging upstream maintainers with things that they have little to no control over when possible.
Generally with Java, you will want to be on the latest LTS release at the latest. It's not a field that moves particularly fast when it comes to adopting new things ;)
FYI next time you encounter an issue like this, you can get a git checkout of Nixpkgs and do a first-parent git bisect of your whole OS between i.e. NixOS/Nixpkgs@6e51c97 and NixOS/Nixpkgs@a115bb9 using nixos-rebuild test -I nixpkgs=/path/to/nixpkgs/checkout
.
Atemu
Sorry, I got it. Thanks!
The modpack I downloaded is https://www.curseforge.com/minecraft/modpacks/infinity-fabric/download/3785369
system: "x86_64-linux" host os: Linux 6.0.10, NixOS, 23.05 (Stoat), 23.05.20221205.6e51c97 desktop environment: GNOME 43, Xorg launcher: HMCL, PrismLauncher java version: openjdk 19.0.1