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 photos
All times are UTC
Ukraine
Port details on branch 2026Q1
openjdk21 Java Development Kit 21
21.0.10+7.1_1 java on this many watch lists=6 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.10+7.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: 2026-04-08 14:12:20
Commit Hash: 6fe56cc
People watching this port, also watch:: postfix, curl, tmux, pkg, ca_root_nss
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.10+7.1_1/catalog.mk
  2. /usr/local/share/licenses/openjdk21-21.0.10+7.1_1/LICENSE
  3. /usr/local/share/licenses/openjdk21-21.0.10+7.1_1/GPLv2
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
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 = 1770584168 SHA256 (openjdk21-21.0.9+10.1.aarch64.tar.xz) = 052d140fea683803564374814f9feb1b0cee701d22727e8d2a6680befa8693d3 SIZE (openjdk21-21.0.9+10.1.aarch64.tar.xz) = 169292956

Expand this list (10 items)

Collapse this list.

SHA256 (openjdk21-21.0.9+10.1.ppc64.tar.xz) = 64c4a6387290c5d478d1244f838996dda9679eebc8b34a167d2e9a5909ce06b8 SIZE (openjdk21-21.0.9+10.1.ppc64.tar.xz) = 168088740 SHA256 (openjdk21-21.0.9+10.1.ppc64le.tar.xz) = 679118e89ff636a3688d36c2df1941c4cb7173eda4702068c60d744b6bb8bcb0 SIZE (openjdk21-21.0.9+10.1.ppc64le.tar.xz) = 169029108 SHA256 (openjdk21-21.0.9+10.1.x86.tar.xz) = cba9629d42a7e4dc8ac62f0c4e81d5e779841d5955361fad1d030469850c0811 SIZE (openjdk21-21.0.9+10.1.x86.tar.xz) = 165180812 SHA256 (openjdk21-21.0.9+10.1.x86_64.tar.xz) = d62c90a58d5acf486e62ff2460708ec7d9ef8704de8e88a5a3551ef8dbae0587 SIZE (openjdk21-21.0.9+10.1.x86_64.tar.xz) = 171175000 SHA256 (battleblow-jdk21u-jdk-21.0.10+7-1_GH0.tar.gz) = d31d9624b56c0091f5d8c8c108822b0491417b29cebfc22f896d76c6ae8c36c5 SIZE (battleblow-jdk21u-jdk-21.0.10+7-1_GH0.tar.gz) = 114068913

Collapse this list.


Packages (timestamps in pop-ups are UTC):
openjdk21
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest21.0.10+7.1_121.0.10+7.1_1--21.0.10+7.1_1n/an/an/a
FreeBSD:13:quarterly21.0.9+10.121.0.10+7.1_1--21.0.10+7.1_1n/an/an/a
FreeBSD:14:latest21.0.10+7.1_121.0.10+7.1_1--21.0.10+7.1_1---
FreeBSD:14:quarterly21.0.10+7.1_121.0.10+7.1_1--21.0.10+7.1_1--21.0.1+12.1
FreeBSD:15:latest21.0.10+7.1_121.0.10+7.1_1n/a-n/an/a21.0.1+12.121.0.2+13.1_1
FreeBSD:15:quarterly21.0.10+7.1_121.0.10+7.1_1n/a-n/an/a--
FreeBSD:16:latest21.0.10+7.1_121.0.10+7.1_1n/a-n/an/a--
Slave ports:
  1. java/openjdk21-jre
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.4.1 : devel/gmake
  7. pkgconf>=1.3.0_1 : devel/pkgconf
  8. gcc14 : lang/gcc14
  9. as : devel/binutils
  10. x11.pc : x11/libX11
  11. xext.pc : x11/libXext
  12. xi.pc : x11/libXi
  13. xrandr.pc : x11/libXrandr
  14. xrender.pc : x11/libXrender
  15. xt.pc : x11-toolkits/libXt
  16. xtst.pc : x11/libXtst
Runtime dependencies:
  1. javavm : java/javavmwrapper
  2. xorg-fonts-truetype>0 : x11-fonts/xorg-fonts-truetype
  3. gcc14 : lang/gcc14
  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. databases/rocksdb-jni
  2. devel/bazel7
  3. devel/bazel8
  4. devel/bazel9
  5. devel/jetbrains-sqlite
  6. math/usearch
  7. net/seda
Expand this list (8 items / 1 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. science/py-tensorflow
  3. Collapse this list.
for Run
  1. astro/josm
  2. databases/rocksdb-jni
  3. devel/bazel7
  4. devel/bazel8
  5. devel/bazel9
  6. math/usearch
  7. net/activemq
Expand this list (14 items / 7 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. net/seda
  3. net/serviio
  4. science/py-tensorflow
  5. security/autofirma
  6. textproc/elasticsearch7
  7. textproc/opensearch219
  8. Collapse this list.

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. www/glassfish4*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

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 may require procfs(5) mounted on /proc for some applications. If you have not done it yet, please do the following: mount -t procfs proc /proc To make it permanent, you need the following lines in /etc/fstab: 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.10+7-1?dummy=/
Collapse this list.

There are no commits on branch 2026Q1 for this port