| Port details |
- openjdk24 Java Development Kit 24
- 24.0.2+12.2_2 java
=0 24.0.2+12.2_2Version of this port present on the latest quarterly branch. DEPRECATED: No longer supported by upstream
EXPIRATION DATE: 2026-06-12
- Maintainer: java@FreeBSD.org
 - 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,
¦ ¦ ¦ ¦ 
- 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:
-
- 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- zip : archivers/zip
- 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/openjdk23
- gcc13 : lang/gcc13
- as : devel/binutils
- autoconf>=2.72 : devel/autoconf
- automake>=1.17 : devel/automake
- 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
-
- java/openjdk25
- for Run
-
- 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:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
24.0.2+12.2_2 12 Dec 2025 12:00:52
    |
Harald Eilertsen (haraldei)  |
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
    |
Joseph Mingrone (jrm)  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
    |
Ronald Klop (ronald)  |
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
    |
Piotr Kubaj (pkubaj)  |
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
    |
Joseph Mingrone (jrm)  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
    |
Baptiste Daroussin (bapt)  |
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
    |
Ronald Klop (ronald)  |
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
    |
Joseph Mingrone (jrm)  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
    |
Piotr Kubaj (pkubaj)  |
java/openjdk24: fix build on powerpc64*
Same issue as previously openjdk22 and openjdk23. |
24.0.0+36.1 28 Mar 2025 18:48:55
    |
Joseph Mingrone (jrm)  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 |