From: "Lorenz (xha)" Subject: Re: NEW WIP: games/prismlauncher To: izzy Meyer Cc: ports@openbsd.org Date: Sun, 25 Aug 2024 08:55:01 +0200 hi issy, this port builds, but doesn't quite work for me (i.e. get minceraft running). a few issues: i think the readme should specify that the scripts you wrote are wrapper-commands, not the java versions themselves? setting it as a normal java version does not work when i start a minecraft version, the wrapper command tries to exec "/usr/local/jdk-21/bin/java /usr/local/jdk-21/bin/java/..." and not the "/usr/local/jdk-21/bin/java/" part only once. changing this in the wrapper-script makes minecraft run, at least: -${JAVA_HOME}/bin/java ${args} +exec ${args} however, it will soon complain that it will then complain that it cannot find lwjgl: java.lang.NoClassDefFoundError: Could not initialize class com.mojang.blaze3d.systems.RenderSystem at ab.a(SourceFile:66) at evi.a(SourceFile:2605) at evi.a(SourceFile:2580) at net.minecraft.client.main.Main.main(SourceFile:233) at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100) at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.UnsatisfiedLinkError: Failed to locate library: liblwjgl.so [in thread "Render thread"] at org.lwjgl.system.Library.loadSystem(Library.java:164) at org.lwjgl.system.Library.loadSystem(Library.java:63) at org.lwjgl.system.Library.(Library.java:51) at org.lwjgl.system.MemoryUtil.(MemoryUtil.java:100) at eoz.(SourceFile:8) at epw.(SourceFile:49) at eqd.(SourceFile:33) at com.mojang.blaze3d.systems.RenderSystem.(SourceFile:51) at net.minecraft.client.main.Main.main(SourceFile:220) not sure what the issue is here. i have tried creating both a soft-link and copying the file to /usr/local/lib/liblwjgl.so. ran ldconfig. didn't work. another thing: do you think it's feasible to unveil(2) and pledge(2) the launcher (and the resulting minceraft process, too)? i have to admit that i haven't really investigated this, just curious.