| Port details on branch 2024Q4 |
- openjdk21 Java Development Kit 21
- 21.0.10+7.1_1 java
=5 21.0.9+10.1Version of this port present on the latest quarterly branch. - Maintainer: java@FreeBSD.org
 - Port Added: 2023-10-23 04:27:08
- Last Update: 2026-02-23 14:23:56
- Commit Hash: 8de6fe6
- People watching this port, also watch:: postfix, sudo, tmux, pkg, curl
- 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,
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - 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
Packages (timestamps in pop-ups are UTC):
- Slave ports:
-
- java/openjdk21-jre
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- zip : archivers/zip
- autoconf>0 : devel/autoconf
- cups.h : print/cups
- bash : shells/bash
- gsed : textproc/gsed
- gmake>=4.4.1 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- gcc14 : lang/gcc14
- as : devel/binutils
- x11.pc : x11/libX11
- xext.pc : x11/libXext
- xi.pc : x11/libXi
- xrandr.pc : x11/libXrandr
- xrender.pc : x11/libXrender
- xt.pc : x11-toolkits/libXt
- xtst.pc : x11/libXtst
- Runtime dependencies:
-
- javavm : java/javavmwrapper
- xorg-fonts-truetype>0 : x11-fonts/xorg-fonts-truetype
- gcc14 : lang/gcc14
- x11.pc : x11/libX11
- xext.pc : x11/libXext
- xi.pc : x11/libXi
- xrandr.pc : x11/libXrandr
- xrender.pc : x11/libXrender
- xt.pc : x11-toolkits/libXt
- xtst.pc : x11/libXtst
- Library dependencies:
-
- libasound.so : audio/alsa-lib
- libfontconfig.so : x11-fonts/fontconfig
- libfreetype.so : print/freetype2
- libgif.so : graphics/giflib
- libharfbuzz.so : print/harfbuzz
- liblcms2.so : graphics/lcms2
- libpng.so : graphics/png
- libjpeg.so : graphics/jpeg-turbo
- This port is required by:
- for Build
-
- archivers/snappy-java
- audio/jid3lib
- audio/nyquist
- benchmarks/scimark2
- biology/artemis
- biology/canu
- comms/java-simple-serial-connector
- for Patch
-
- games/robocode
- games/robocode-naval
- java/netty
- net-mgmt/omada5
- sysutils/graylog
- for Run
-
- archivers/apache-commons-compress
- archivers/javatar
- astro/gpsprune
- astro/josm
- astro/mkgmap
- astro/mkgmap-splitter
- astro/osmosis
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:
|