Port details on branch 2025Q2 |
- openjdk21 Java Development Kit 21
- 21.0.7+6.1 java
=5 21.0.6+7.1Version of this port present on the latest quarterly branch. - Maintainer: java@FreeBSD.org
 - Port Added: 2023-10-23 04:27:08
- Last Update: 2025-04-20 22:26:19
- Commit Hash: ae38500
- People watching this port, also watch:: tmux, sudo, qbittorrent, 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 - 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 = 1745168967
SHA256 (battleblow-jdk21u-jdk-21.0.7+6-1_GH0.tar.gz) = ea8634ed1f3bf8aa0df121fa399f4f56ccac135a14ac5c1db8dd3b378f493dfb
SIZE (battleblow-jdk21u-jdk-21.0.7+6-1_GH0.tar.gz) = 113408248
Packages (timestamps in pop-ups are UTC):
- 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
- javac : java/openjdk20
- gcc13 : lang/gcc13
- 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
- gcc13 : lang/gcc13
- 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
-
- databases/rocksdb-jni
- devel/ghidra
- java/eclipse
- java/openjdk22
- for Patch
-
- sysutils/graylog
- for Run
-
- databases/rocksdb-jni
- deskutils/stirling-pdf
- devel/ghidra
- games/minecraft-server
- games/prismlauncher
- java/dbvis
- java/eclipse
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 fdescfs(5) mounted on /dev/fd
and procfs(5) mounted on /proc for some applications.
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:
|