Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Dec 2021 22:05:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 260452] [PATCH] games/minecraft-server: Update to latest version and patch log4shell
Message-ID:  <bug-260452-7788-M0Npe2jrcy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260452-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260452-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260452

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=3D230157&action=
=3Dedit
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 scri=
pt,
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/ja=
va,
which I have confirmed resolves the issue.

If somebody happens to read this and knows of a more "correct" way to resol=
ve
this issue, feel free to let me know.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260452-7788-M0Npe2jrcy>