diff options
| author | Ronald Klop <ronald@FreeBSD.org> | 2026-02-10 17:33:00 +0000 |
|---|---|---|
| committer | Ronald Klop <ronald@FreeBSD.org> | 2026-02-26 08:00:31 +0000 |
| commit | 17e021a44eccbfd4fbef6352436f6d7c06a517a6 (patch) | |
| tree | bbfc2d5213974aba76cb758ce2a732c180d1b026 | |
| parent | c37b01e04ee8d9c501967364aecc5ffe6535afe7 (diff) | |
Mk/bsd.default-versions.mk: bump java default to 21
After an extensive time of testing OpenJDK 21 LTS is now the default
java version on FreeBSD.
Some major ports already used Java 21 and some olders ports are now
pinned to OpenJDK 8 or other versions.
For armv6/armv7 OpenJDK 11 is the latest version with support
for these platforms on FreeBSD.
Thanks to everybody involved in making Java a vivid environment on
FreeBSD.
PR: 272855
Relnotes: yes
| -rw-r--r-- | Mk/bsd.default-versions.mk | 6 | ||||
| -rw-r--r-- | UPDATING | 8 |
2 files changed, 13 insertions, 1 deletions
diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk index 17db6378caba..64f701c3b6bb 100644 --- a/Mk/bsd.default-versions.mk +++ b/Mk/bsd.default-versions.mk @@ -74,7 +74,11 @@ GUILE_DEFAULT?= 2.2 # Examples: 6-nox11, 7 IMAGEMAGICK_DEFAULT?= 7 # Possible values: 8, 11, 17, 20, 21, 22, 23, 24, 25 -JAVA_DEFAULT?= 8 +. if ${ARCH:Marmv*} +JAVA_DEFAULT?= 11 +. else +JAVA_DEFAULT?= 21 +. endif # Possible values: 4.6, 4.99 . if (defined(WANT_LAZARUS_DEVEL) && !empty(WANT_LAZARUS_DEVEL)) || ${ARCH:Maarch64} || ${ARCH:Mpowerpc*} LAZARUS_DEFAULT?= 4.99 @@ -5,6 +5,14 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20260226: + AFFECTS: users of java/openjdk* + AUTHOR: ronald@FreeBSD.org + + Version JAVA_DEFAULT is updated from 8 to 21. + No specific action should be needed, just a heads-up to test before + deploying to production as this is quite a big step in versions. + 20260206: AFFECTS: users of devel/freebsd-git-devtools AUTHOR: jrm@FreeBSD.org |
