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
Port details on branch 2023Q4
openjdk21 Java Development Kit 21
21.0.1+12.1 java on this many watch lists=0 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.1+12.1Version of this port present on the latest quarterly branch.
Maintainer: java@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-11-16 12:18:09
Last Update: 2023-11-16 12:14:09
Commit Hash: bb4c956
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.1+12.1/catalog.mk
  2. /usr/local/share/licenses/openjdk21-21.0.1+12.1/LICENSE
  3. /usr/local/share/licenses/openjdk21-21.0.1+12.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 = 1698025290 SHA256 (battleblow-jdk21u-jdk-21.0.1+12-1_GH0.tar.gz) = 448b98a1222677cc2817b23cba3a6174789c9aba1c7000e66746095aaae2c338 SIZE (battleblow-jdk21u-jdk-21.0.1+12-1_GH0.tar.gz) = 112374315

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
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 Run
  1. www/tomcat-devel

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.1+12-1?dummy=/
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
21.0.1+12.1
16 Nov 2023 12:14:09
commit hash: bb4c95680a9e950761323790c4da3e7142232baecommit hash: bb4c95680a9e950761323790c4da3e7142232baecommit hash: bb4c95680a9e950761323790c4da3e7142232baecommit hash: bb4c95680a9e950761323790c4da3e7142232bae files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
Author: Piotr Kubaj
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.

(cherry picked from commit e7710c85bfc9949b7bd235822b49c7ad82816820)
21.0.1+12.1
16 Nov 2023 12:14:03
commit hash: 24bf5a0635fa30d966b5de030e91a8d91265ad1dcommit hash: 24bf5a0635fa30d966b5de030e91a8d91265ad1dcommit hash: 24bf5a0635fa30d966b5de030e91a8d91265ad1dcommit hash: 24bf5a0635fa30d966b5de030e91a8d91265ad1d files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
Author: Greg Lewis
java/openjdk21: Fix bootstrap dependency specification

PR:		273979
(cherry picked from commit 2ac75eafd85218e6a4f7d66bfe8cb40575b684da)
21.0.1+12.1
16 Nov 2023 12:13:48
commit hash: a429d6dc77e98028c08c19ad79b4213c76a2db78commit hash: a429d6dc77e98028c08c19ad79b4213c76a2db78commit hash: a429d6dc77e98028c08c19ad79b4213c76a2db78commit hash: a429d6dc77e98028c08c19ad79b4213c76a2db78 files touched by this commit
Vladimir Druzenko (vvd) search for other commits by this committer
Author: Greg Lewis
java/openjdk21: Add a port of JDK 21

(cherry picked from commit 2d2c432352a6244d496b3fccaf7747fcd490ef7b)

Number of commits found: 3