[Bug 260452] [PATCH] games/minecraft-server: Update to latest version and patch log4shell
Date: Wed, 15 Dec 2021 22:05:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260452 Jonathan Price <freebsd@jonathanprice.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #230155|0 |1 is obsolete| | Attachment #230157| |maintainer-approval+ Flags| | --- Comment #1 from Jonathan Price <freebsd@jonathanprice.org> --- Created attachment 230157 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=230157&action=edit git diff patch v2 I discovered an issue when running the new version on a system that already has an existing Java 8 install. the path "%%LOCALBASE%%/bin/java" continues to point to Java 8 after Java 17 has been installed. With the existing RC script, this was causing the Minecraft server to try to launch with Java 8 and subsequently failing. I have updated the patch to instead point to %%LOCALBASE%%/openjdk17/bin/java, which I have confirmed resolves the issue. If somebody happens to read this and knows of a more "correct" way to resolve this issue, feel free to let me know. -- You are receiving this mail because: You are the assignee for the bug.