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
openjdk24 Java Development Kit 24
24.0.2+12.2_2 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 24.0.2+12.2_2Version of this port present on the latest quarterly branch.
Deprecated DEPRECATED: No longer supported by upstream
Expiration Date EXPIRATION DATE: 2026-06-12
Maintainer: java@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-03-28 18:51:05
Last Update: 2025-12-12 12:00:52
Commit Hash: 6a24551
Also Listed In: devel
License: GPLv2
WWW:
https://openjdk.java.net/projects/jdk/24/
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/openjdk24-24.0.2+12.2_2/catalog.mk
  2. /usr/local/share/licenses/openjdk24-24.0.2+12.2_2/LICENSE
  3. /usr/local/share/licenses/openjdk24-24.0.2+12.2_2/GPLv2
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • openjdk24>0:java/openjdk24
To install the port:
cd /usr/ports/java/openjdk24/ && make install clean
To add the package, run one of these commands:
  • pkg install java/openjdk24
  • pkg install openjdk24
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: openjdk24
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 powerpc64 powerpc64le
distinfo:
TIMESTAMP = 1756894463 SHA256 (freebsd-openjdk-jdk-24.0.2+12-2-jdk-24.0.2-ga-freebsd-2_GH0.tar.gz) = 707a120215130b7d82a344f19ec801efaa70edaad38d6417fd1a47a6da58c395 SIZE (freebsd-openjdk-jdk-24.0.2+12-2-jdk-24.0.2-ga-freebsd-2_GH0.tar.gz) = 120881959

Packages (timestamps in pop-ups are UTC):
openjdk24
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest24.0.2+12.2_224.0.2+12.2_2---n/an/an/a
FreeBSD:13:quarterly24.0.2+12.2_224.0.2+12.2_2---n/an/an/a
FreeBSD:14:latest24.0.2+12.2_224.0.2+12.2_2------
FreeBSD:14:quarterly24.0.2+12.2_224.0.2+12.2_2------
FreeBSD:15:latest24.0.2+12.2_224.0.2+12.2_2n/a-n/an/a--
FreeBSD:15:quarterly24.0.2+12.2_224.0.2+12.2_2n/a-n/an/a--
FreeBSD:16:latest24.0.2+12.2_224.0.2+12.2_2n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. zip : archivers/zip
  2. cups.h : print/cups
  3. bash : shells/bash
  4. gsed : textproc/gsed
  5. gmake>=4.4.1 : devel/gmake
  6. pkgconf>=1.3.0_1 : devel/pkgconf
  7. javac : java/openjdk23
  8. gcc13 : lang/gcc13
  9. as : devel/binutils
  10. autoconf>=2.72 : devel/autoconf
  11. automake>=1.17 : devel/automake
  12. x11.pc : x11/libX11
  13. xext.pc : x11/libXext
  14. xi.pc : x11/libXi
  15. xrandr.pc : x11/libXrandr
  16. xrender.pc : x11/libXrender
  17. xt.pc : x11-toolkits/libXt
  18. xtst.pc : x11/libXtst
Runtime dependencies:
  1. javavm : java/javavmwrapper
  2. xorg-fonts-truetype>0 : x11-fonts/xorg-fonts-truetype
  3. gcc13 : lang/gcc13
  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/openjdk25
for Run
  1. security/autofirma

Configuration Options:
No options to configure
Options name:
java_openjdk24
USES:
autoreconf:build compiler:features cpe gmake iconv jpeg pkgconfig xorg
pkg-message:
For install:
This OpenJDK implementation may requires procfs(5) mounted on /proc. 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/freebsd/openjdk/tar.gz/jdk-24.0.2-ga-freebsd-2?dummy=/
Collapse this list.

Number of commits found: 10

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
24.0.2+12.2_2
12 Dec 2025 12:00:52
commit hash: 6a245515c7c2048e25413bd31d15e06a96319c8fcommit hash: 6a245515c7c2048e25413bd31d15e06a96319c8fcommit hash: 6a245515c7c2048e25413bd31d15e06a96319c8fcommit hash: 6a245515c7c2048e25413bd31d15e06a96319c8f files touched by this commit
Harald Eilertsen (haraldei) search for other commits by this committer
java/openjdk*: Deprecate unmaintained versions

Mark OpenJDK versions no longer maintained by upstream as deprecated,
and for future removal. Keeping LTS versions, as well as the actively
maintained latest versions in the tree.

Reviewed by:	bofh (mentor), jrm
Approved by:	bofh (mentor)
MFH:		2025Q4
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54176
24.0.2+12.2_1
25 Sep 2025 13:32:44
commit hash: 8e3dc60231183008cea882574020f74163db9b58commit hash: 8e3dc60231183008cea882574020f74163db9b58commit hash: 8e3dc60231183008cea882574020f74163db9b58commit hash: 8e3dc60231183008cea882574020f74163db9b58 files touched by this commit
Joseph Mingrone (jrm) search for other commits by this committer
Author: Harald Eilertsen
java/openjdk24: FreeBSD updates and fixes

- Enable and fix demangling C++ symbols in the Servicability Agent for
  FreeBSD. This fixes several issues with backtraces and looking up
  symbols when debugging or inspecting programs running in the JVM.

- Fix a performance issue when looking up committed memory size and
  number of open file handles via the OperatingSystemMXBean interface.
  This affected some large ElasticSearch clusters, but potentially also
  other large high performance systems.

Reviewed by:	emaste, jrm
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D52354
24.0.2+12.1_1
23 Sep 2025 10:31:04
commit hash: 6732aab7d151c664fb0e1d54dc6d11310c27ec5bcommit hash: 6732aab7d151c664fb0e1d54dc6d11310c27ec5bcommit hash: 6732aab7d151c664fb0e1d54dc6d11310c27ec5bcommit hash: 6732aab7d151c664fb0e1d54dc6d11310c27ec5b files touched by this commit
Ronald Klop (ronald) search for other commits by this committer
java/openjdk24: pass MAKE_JOBS_NUMBER around

Be more verbose during the build to prevent output timeout.

For rationale of this change see the commits in java/openjdk17 of the
last two weeks.
24.0.2+12.1
17 Sep 2025 08:37:10
commit hash: 8921df9c20effb4b5c41c7aa38c64d270be03450commit hash: 8921df9c20effb4b5c41c7aa38c64d270be03450commit hash: 8921df9c20effb4b5c41c7aa38c64d270be03450commit hash: 8921df9c20effb4b5c41c7aa38c64d270be03450 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
java/openjdk24: set proper ABI on powerpc64

n file included from
/wrkdirs/usr/ports/java/openjdk24/work/openjdk-jdk-24.0.2-ga-freebsd-1/src/hotspot/share/precompiled/precompiled.hpp:45:
In file included from
/wrkdirs/usr/ports/java/openjdk24/work/openjdk-jdk-24.0.2-ga-freebsd-1/src/hotspot/share/nmt/memTracker.hpp:30:
In file included from
/wrkdirs/usr/ports/java/openjdk24/work/openjdk-jdk-24.0.2-ga-freebsd-1/src/hotspot/share/nmt/memoryFileTracker.hpp:34:
In file included from
/wrkdirs/usr/ports/java/openjdk24/work/openjdk-jdk-24.0.2-ga-freebsd-1/src/hotspot/share/runtime/os.inline.hpp:31:
/wrkdirs/usr/ports/java/openjdk24/work/openjdk-jdk-24.0.2-ga-freebsd-1/src/hotspot/os_cpu/bsd_ppc/os_bsd_ppc.inline.hpp:35:10:
error: no member named 'resolve_function_descriptor' in 'os::Bsd'; did you mean
simply 'resolve_function_descriptor'?
   35 |   return os::Bsd::resolve_function_descriptor(p);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |          resolve_function_descriptor
/wrkdirs/usr/ports/java/openjdk24/work/openjdk-jdk-24.0.2-ga-freebsd-1/src/hotspot/os_cpu/bsd_ppc/os_bsd_ppc.inline.hpp:34:18:
note: 'resolve_function_descriptor' declared here
   34 | inline void* os::resolve_function_descriptor(void* p) {
      |                  ^
1 error generated.
24.0.2+12.1
18 Jul 2025 16:29:48
commit hash: 7aed795e864ced2f6dfee773d2371d01b23d5d4fcommit hash: 7aed795e864ced2f6dfee773d2371d01b23d5d4fcommit hash: 7aed795e864ced2f6dfee773d2371d01b23d5d4fcommit hash: 7aed795e864ced2f6dfee773d2371d01b23d5d4f files touched by this commit
Joseph Mingrone (jrm) search for other commits by this committer
Author: Harald Eilertsen
java/openjdk24: Update to version 24.0.2

Updates the OpenJDK to version 24.0.2, including several fixes for
FreeBSD backported from mainline.

Reviewed by:	jrm
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D51367
24.0.1+9.1_1
27 Jun 2025 15:14:08
commit hash: 3a407ba074c037ab429e357307016648b4d5ed33commit hash: 3a407ba074c037ab429e357307016648b4d5ed33commit hash: 3a407ba074c037ab429e357307016648b4d5ed33commit hash: 3a407ba074c037ab429e357307016648b4d5ed33 files touched by this commit
Baptiste Daroussin (bapt) search for other commits by this committer
openjdk: remove need for fdescfs(5) and probably procfs(5)

Implement getCommittedVirtualMemorySize() directly using sysctl
kern.proc.vmmap
Implement getOpenFileDescriptorCount() directly using sysctl
kern.proc.nfds

Note on openjdk17 use closefrom where possible (note this use case is
only in openjdk 17, 21, 23 and 24)

Remove the message about the use of fdescfs(5) as this is not needed
for sure, keep the information about procfs(5) as I have not analysed
enough the source code to make sure it is not used anywhere else, but
I don't think it is.
24.0.1+9.1
29 May 2025 16:51:09
commit hash: 5769468b4ba38b5d24dcba7aaa0b0131cc5d10d6commit hash: 5769468b4ba38b5d24dcba7aaa0b0131cc5d10d6commit hash: 5769468b4ba38b5d24dcba7aaa0b0131cc5d10d6commit hash: 5769468b4ba38b5d24dcba7aaa0b0131cc5d10d6 files touched by this commit
Ronald Klop (ronald) search for other commits by this committer
java/openjdk18-24: fix printf in configure output

Printf was confused because the argument was used as format string
and contained a %.
The issue is only cosmetical so not bumping port revision.

It is mentioned in the PR that an upstream fix is in openjdk25.

PR:	287053
Approved by:	java@
24.0.1+9.1
25 Apr 2025 15:26:59
commit hash: 5fc04e4b900f974d5d334b1165668bddc90a86f6commit hash: 5fc04e4b900f974d5d334b1165668bddc90a86f6commit hash: 5fc04e4b900f974d5d334b1165668bddc90a86f6commit hash: 5fc04e4b900f974d5d334b1165668bddc90a86f6 files touched by this commit
Joseph Mingrone (jrm) search for other commits by this committer
Author: Harald Eilertsen
java/openjdk24: Upgrade to version 24.0.1+9.1

Remove src/hotspot/os_cpu/bsd_ppc/os_bsd_ppc.cpp patch; it was
upstreamed.

Reviewed by:	emaste, glewis, jrm
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D49996
24.0.0+36.1
29 Mar 2025 13:05:18
commit hash: 70fabb4029f84b6053c94dd109bf568e43143636commit hash: 70fabb4029f84b6053c94dd109bf568e43143636commit hash: 70fabb4029f84b6053c94dd109bf568e43143636commit hash: 70fabb4029f84b6053c94dd109bf568e43143636 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
java/openjdk24: fix build on powerpc64*

Same issue as previously openjdk22 and openjdk23.
24.0.0+36.1
28 Mar 2025 18:48:55
commit hash: a7a4c323f32094d0a34e202d51d55bb9deca8406commit hash: a7a4c323f32094d0a34e202d51d55bb9deca8406commit hash: a7a4c323f32094d0a34e202d51d55bb9deca8406commit hash: a7a4c323f32094d0a34e202d51d55bb9deca8406 files touched by this commit
Joseph Mingrone (jrm) search for other commits by this committer
Author: Harald Eilertsen
java/openjdk24: Add port

Release notes:		https://openjdk.org/projects/jdk/24/
Reviewed by:		emaste, glewis, jrm
Sponsored by:		The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D49354

Number of commits found: 10