notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
openjdk21 Java Development Kit 21
21.0.2+13.1_1 java on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 21.0.2+13.1_1Version of this port present on the latest quarterly branch.
Maintainer: java@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-10-23 04:27:08
Last Update: 2024-02-09 19:52:07
Commit Hash: d901bf5
People watching this port, also watch:: powerdns, mkvtoolnix, python311, tmux, zfs-stats
Also Listed In: devel
License: GPLv2
WWW:
https://openjdk.java.net/projects/jdk/21/
Description:
An open-source implementation of the Java Platform, Standard Edition,
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/openjdk21-21.0.2+13.1_1/catalog.mk
  2. /usr/local/share/licenses/openjdk21-21.0.2+13.1_1/LICENSE
  3. /usr/local/share/licenses/openjdk21-21.0.2+13.1_1/GPLv2
Collapse this list.
Dependency lines:
  • openjdk21>0:java/openjdk21
To install the port:
cd /usr/ports/java/openjdk21/ && make install clean
To add the package, run one of these commands:
  • pkg install java/openjdk21
  • pkg install openjdk21
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: openjdk21
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 i386 powerpc64 powerpc64le
distinfo:
TIMESTAMP = 1707072761 SHA256 (battleblow-jdk21u-jdk-21.0.2+13-1_GH0.tar.gz) = d2ab2262851d658aecf04049f8542dd035b9adce8fb9bc41b6a3eeec0223a6d0 SIZE (battleblow-jdk21u-jdk-21.0.2+13-1_GH0.tar.gz) = 112378927

Packages (timestamps in pop-ups are UTC):
openjdk21
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest21.0.2+13.1_121.0.2+13.1_1--21.0.2+13.1_1---
FreeBSD:13:quarterly21.0.2+13.1_121.0.2+13.1_1--21.0.2+13.1_1-21.0.1+12.121.0.1+12.1
FreeBSD:14:latest21.0.2+13.1_121.0.2+13.1_1--21.0.2+13.1_1---
FreeBSD:14:quarterly21.0.1+12.121.0.2+13.1_1--21.0.2+13.1_1--21.0.1+12.1
FreeBSD:15:latest21.0.2+13.1_121.0.2+13.1_1n/a-n/a-21.0.1+12.121.0.2+13.1_1
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. zip : archivers/zip
  2. autoconf>0 : devel/autoconf
  3. cups.h : print/cups
  4. bash : shells/bash
  5. gsed : textproc/gsed
  6. gmake>=4.3 : devel/gmake
  7. pkgconf>=1.3.0_1 : devel/pkgconf
  8. javac : java/openjdk20
  9. gcc12 : lang/gcc12
  10. as : devel/binutils
  11. x11.pc : x11/libX11
  12. xext.pc : x11/libXext
  13. xi.pc : x11/libXi
  14. xrandr.pc : x11/libXrandr
  15. xrender.pc : x11/libXrender
  16. xt.pc : x11-toolkits/libXt
  17. xtst.pc : x11/libXtst
Runtime dependencies:
  1. javavm : java/javavmwrapper
  2. xorg-fonts-truetype>0 : x11-fonts/xorg-fonts-truetype
  3. gcc12 : lang/gcc12
  4. x11.pc : x11/libX11
  5. xext.pc : x11/libXext
  6. xi.pc : x11/libXi
  7. xrandr.pc : x11/libXrandr
  8. xrender.pc : x11/libXrender
  9. xt.pc : x11-toolkits/libXt
  10. xtst.pc : x11/libXtst
Library dependencies:
  1. libasound.so : audio/alsa-lib
  2. libfontconfig.so : x11-fonts/fontconfig
  3. libfreetype.so : print/freetype2
  4. libgif.so : graphics/giflib
  5. libharfbuzz.so : print/harfbuzz
  6. liblcms2.so : graphics/lcms2
  7. libpng.so : graphics/png
  8. libjpeg.so : graphics/jpeg-turbo
This port is required by:
for Build
  1. java/openjdk22
for Run
  1. net/serviio

Configuration Options:
No options to configure
Options name:
java_openjdk21
USES:
compiler:features cpe gmake iconv jpeg pkgconfig xorg
pkg-message:
For install:
This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and procfs(5) mounted on /proc. If you have not done it yet, please do the following: mount -t fdescfs fdesc /dev/fd mount -t procfs proc /proc To make it permanent, you need the following lines in /etc/fstab: fdesc /dev/fd fdescfs rw 0 0 proc /proc procfs rw 0 0
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/battleblow/jdk21u/tar.gz/jdk-21.0.2+13-1?dummy=/
Collapse this list.

Number of commits found: 8

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
21.0.2+13.1_1
09 Feb 2024 19:52:07
commit hash: d901bf5df9d22af271582c28d9dc279a6794f3d0commit hash: d901bf5df9d22af271582c28d9dc279a6794f3d0commit hash: d901bf5df9d22af271582c28d9dc279a6794f3d0commit hash: d901bf5df9d22af271582c28d9dc279a6794f3d0 files touched by this commit
Michael Osipov (michaelo) search for other commits by this committer
java/openjdk*: Allow users to specify an alternative cacerts file

Similar to certificate management with certctl(8) users can use custom
enterprise CAs. These need to be assembled into a custom cacerts file.
Therefore, an admin can install a custom truststore to an arbitrary
location and have the OpenJDK port symlink to it by adding
OPENJDK_SYMLINK_CACERTS to make.conf.
E.g., OPENJDK_SYMLINK_CACERTS=/usr/local/etc/ssl/cacerts.

PR:		229329
Approved by:	jrm (mentor), otis (mentor), glewis
Differential Revision:	https://reviews.freebsd.org/D42720
21.0.2+13.1
04 Feb 2024 22:51:33
commit hash: b8aba58e494b5a2fa076324dac97d19cfc2bef2dcommit hash: b8aba58e494b5a2fa076324dac97d19cfc2bef2dcommit hash: b8aba58e494b5a2fa076324dac97d19cfc2bef2dcommit hash: b8aba58e494b5a2fa076324dac97d19cfc2bef2d files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk21: Update to 21.0.2
21.0.1+12.1
26 Jan 2024 22:23:12
commit hash: a1f91b22f1fc8ada691c47864c6365731cf8ef86commit hash: a1f91b22f1fc8ada691c47864c6365731cf8ef86commit hash: a1f91b22f1fc8ada691c47864c6365731cf8ef86commit hash: a1f91b22f1fc8ada691c47864c6365731cf8ef86 files touched by this commit
Michael Osipov (michaelo) search for other commits by this committer
Author: Dimitry Andric
java/openjdk{19,20,21}: fix build with lld 17

Building java/openjdk{19,20,21} with lld 17 results in the following link
errors:

  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZ21WB_HandshakeWalkStackE16TraceSelfClosure' failed: symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZ24WB_HandshakeReadMonitorsE19ReadMonitorsClosure' failed: symbol not
defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZ26WB_AsyncHandshakeWalkStackE16TraceSelfClosure' failed: symbol not
defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZL20reinitialize_itablesvE18ReinitTableClosure' failed: symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN12JvmtiEnvBase27check_for_periodic_clean_upEvE28ThreadInsideIterationClosure'
failed: symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN15G1RemSetSummary6updateEvE11CollectData' failed: symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN16SATBMarkQueueSet22set_active_all_threadsEbbE22SetThreadActiveClosure'
failed: symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN16SATBMarkQueueSet23abandon_partial_markingEvE25AbandonThreadQueueClosure'
failed: symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN18G1ConcurrentRefine30get_and_reset_refinement_statsEvE12CollectStats'
failed: symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN19G1DirtyCardQueueSet12abandon_logsEvE23AbandonThreadLogClosure' failed:
symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN19G1DirtyCardQueueSet16concatenate_logsEvE27ConcatenateThreadLogClosure'
failed: symbol not defined
(Only the first 15 lines of the commit message are shown above View all of this commit message)
21.0.1+12.1
05 Jan 2024 21:00:58
commit hash: 51d9f23280d128f473e26e9b01184f873be6c912commit hash: 51d9f23280d128f473e26e9b01184f873be6c912commit hash: 51d9f23280d128f473e26e9b01184f873be6c912commit hash: 51d9f23280d128f473e26e9b01184f873be6c912 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
java/openjdk21: remove ELFv1 support
21.0.1+12.1
31 Dec 2023 00:37:05
commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree

- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
21.0.1+12.1
23 Oct 2023 17:04:07
commit hash: e7710c85bfc9949b7bd235822b49c7ad82816820commit hash: e7710c85bfc9949b7bd235822b49c7ad82816820commit hash: e7710c85bfc9949b7bd235822b49c7ad82816820commit hash: e7710c85bfc9949b7bd235822b49c7ad82816820 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
java/openjdk21: fix build on powerpc64*

/wrkdirs/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/src/hotspot/share/runtime/javaThread.hpp:1117:10:
fatal error: 'javaThread_bsd_ppc.hpp' file not found
         ^~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/src/hotspot/share/utilities/macros.hpp:618:40:
note: expanded from macro 'OS_CPU_HEADER'
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/src/hotspot/share/utilities/macros.hpp:35:17:
note: expanded from macro 'XSTR'
                ^~~~~~
/wrkdirs/usr/ports/java/openjdk21/work/jdk21u-jdk-21.0.1-12-1/src/hotspot/share/utilities/macros.hpp:32:17:
note: expanded from macro 'STR'
                ^~
<scratch space>:74:1: note: expanded from here
"javaThread_bsd_ppc.hpp"
^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
21.0.1+12.1
23 Oct 2023 13:14:40
commit hash: 2ac75eafd85218e6a4f7d66bfe8cb40575b684dacommit hash: 2ac75eafd85218e6a4f7d66bfe8cb40575b684dacommit hash: 2ac75eafd85218e6a4f7d66bfe8cb40575b684dacommit hash: 2ac75eafd85218e6a4f7d66bfe8cb40575b684da files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk21: Fix bootstrap dependency specification

PR:		273979
21.0.1+12.1
23 Oct 2023 04:25:25
commit hash: 2d2c432352a6244d496b3fccaf7747fcd490ef7bcommit hash: 2d2c432352a6244d496b3fccaf7747fcd490ef7bcommit hash: 2d2c432352a6244d496b3fccaf7747fcd490ef7bcommit hash: 2d2c432352a6244d496b3fccaf7747fcd490ef7b files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk21: Add a port of JDK 21

Number of commits found: 8