Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Mar 2026 14:06:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 289858] Mk/Uses/java.mk: Use JAVA_VERSION as priority
Message-ID:  <bug-289858-8522-42sJuQJZUe@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-289858-8522@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289858

--- Comment #9 from Vladimir Druzenko <vvd@FreeBSD.org> ---
> 3. JAVA_VERSION=17+, prefer 25 (latest)
> Option 3 will be more progressive when a new JDK is added to the tree.
IMHO, pick JAVA_DEFAULT if it in range or latest LTS in range.
JAVA_DEFAULT=21:
"8 11 17 18 19 20" => 17
"21 17 25" => 21

All the proposed options fail to solve one problem: how to build a specific
port with a specific version of Java, and another port with a different
version, all on the same host.
Moreover, both ports support both versions of Java.
I also want to avoid the need for the end user to manually edit the port to
achieve this goal.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289858-8522-42sJuQJZUe>