| Port details |
- openjdk25 Java Development Kit 25
- 25.0.3+9.f.1 java
=3 25.0.2+10.f.1_2Version of this port present on the latest quarterly branch. - Maintainer: java@FreeBSD.org
 - Port Added: 2025-10-27 14:33:07
- Last Update: 2026-04-22 19:01:07
- Commit Hash: 7004c16
- People watching this port, also watch:: sudo, pkg, tmux, node, go-anubis
- Also Listed In: devel
- License: GPLv2
- WWW:
- https://openjdk.java.net/projects/jdk/25/
- 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 - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- openjdk25>0:java/openjdk25
- To install the port:
- cd /usr/ports/java/openjdk25/ && make install clean
- To add the package, run one of these commands:
- pkg install java/openjdk25
- pkg install openjdk25
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: openjdk25
- Package flavors (<flavor>: <package>)
- jdk: openjdk25
- jre: openjdk25-jre
- headless: openjdk25-headless
- jre_headless: openjdk25-jre-headless
- ONLY_FOR_ARCHS: aarch64 amd64 powerpc64 powerpc64le
- distinfo:
- TIMESTAMP = 1776881430
SHA256 (openjdk25-25.0.1+8.f.1.aarch64.tar.xz) = cb1d88e0e299a0c2347dbbaa17c3650403a28e8065076cf7898478646c473b2b
SIZE (openjdk25-25.0.1+8.f.1.aarch64.tar.xz) = 189254412
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:
-
- cups.h : print/cups
- bash : shells/bash
- gsed : textproc/gsed
- zip : archivers/zip
- gmake>=4.4.1 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- gcc14 : lang/gcc14
- as : devel/binutils
- autoconf>=2.73 : devel/autoconf
- automake>=1.18.1 : 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
- 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
- cad/silice
-
Deleted ports which required this port:
- 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/mkgmap
- astro/mkgmap-splitter
- astro/osmosis
- astro/traccar
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- No options to configure
- Options name:
- java_openjdk25
- USES:
- autoreconf:build compiler:features cpe gmake iconv jpeg pkgconfig xorg
- pkg-message:
- For install:
- This OpenJDK implementation may require 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 |
25.0.3+9.f.1 22 Apr 2026 19:01:07
    |
Harald Eilertsen (haraldei)  |
java/openjdk25: Update to OpenJDK 25.0.3
Approved by: jrm, fuz, pkubaj
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56522 |
25.0.2+10.f.1_2 08 Apr 2026 14:12:20
    |
Harald Eilertsen (haraldei)  |
java/openjdk*: Fix possible race after configure
Some setups could fail when building with poudriere bulk with a message
about the configuration was out of date. Since configure is run as part
of the build in any case, we don't need the explicit configure check in
the openjdk build system, so we disable it.
Fix originally proposed by jonc@chen.org.nz.
Since this doen not change the port, only whether it will build or not,
I have not bumped the PORTREVISION for this change.
PR: 294199
Reported by: nxjoseph
Reviewed by: glewis
Approved by: glewis
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56289 |
25.0.2+10.f.1_2 28 Mar 2026 10:25:18
    |
Harald Eilertsen (haraldei)  |
java/openjdk: Fix pkgsuffix for jre builds
java/openjdk25 and openjdk26 would use the same pkgsuffix when building
the jre FLAVOR, making the package names clash.
Reported by: Antoine Brodin <antoine@freebsd.org>
Reviewed by: fuz
Approved by: fuz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56123 |
25.0.2+10.f.1_1 28 Feb 2026 13:32:44
    |
Harald Eilertsen (haraldei)  |
java/openjdk25: Fix headless build
The OpenJDK headless builds still need xorg and related libraries.
This should hopefully fix the pkg fallouts reported after the update to
25.0.2.
Reviewed by: fuz (mentor)
Approved by: fuz (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55589 |
25.0.2+10.f.1 26 Feb 2026 19:41:39
    |
Harald Eilertsen (haraldei)  |
java/openjdk25: Update to OpenJDK 25.0.2
Update to track upstream version 25.0.2, with fixes for FreeBSD.
See the upstream release notes for details on what has changed since
version 25.0.1:
https://www.oracle.com/java/technologies/javase/25-0-2-relnotes.html
In addition to the above, this release includes the following patch,
scheduled for JDK 26 by upstream.
JDK-8371637: allocateNativeInternal sometimes return incorrectly aligned
memory
This is because this patch affects systems using jemalloc specifically,
like FreeBSD does, but I feel it's too long time to wait until the next
LTS release before making it available on FreeBSD.
Reviewed by: fuz (mentor)
Approved by: fuz (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55529 |
25.0.1+8.f.1_1 23 Feb 2026 14:23:56
    |
Harald Eilertsen (haraldei)  |
java/openjdk21-25: Bootstrap from prebuilt packages
Completes the transition to using prebuilt packages to bootstrap OpenJDK
ports.
PR: 289731
Reviewed by: jrm, fuz (mentor)
Approved by: fuz (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54731 |
25.0.1+8.f.1_1 03 Feb 2026 05:13:43
    |
Po-Chuan Hsieh (sunpoet)  |
graphics/lcms2: Bump PORTREVISION of dependent ports for shlib change
PR: 292881
Reported by: Petr Lampa <lampa@fit.vutbr.cz> |
25.0.1+8.f.1 04 Dec 2025 17:05:37
    |
Harald Eilertsen (haraldei)  |
java/openjdk25: Update to version 25.0.1
Reviewed-by: fuz (mentor)
Approved by: fuz (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53975 |
25+36.f.1 25 Nov 2025 13:44:21
    |
Harald Eilertsen (haraldei)  |
java/openjdk25: Add jre_headless flavor
Add flavor to make a headless jre package, where dev tools and x11
support is removed. As requested in Bug #266059.
PR: 266059
Reviewed by: fuz, jrm
Approved by: fuz (Mentor), jrm
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53707 |
25+36.f.1 04 Nov 2025 12:13:01
    |
Harald Eilertsen (haraldei)  |
java/openjdk25: Add jre and headless flavors
Add FLAVORS to allow building jre and headless variants from the same
port. For backwards compatibility, it is also possible to build the jre
version by setting the BUILD_JRE env var.
Also reorganize the Makefile to make portclippy happy
Reviewed by: fuz, jrm
Approved by: fuz (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53450 |
25+36.f.1 30 Oct 2025 15:01:38
    |
Piotr Kubaj (pkubaj)  |
java/openjdk25: fix build on powerpc64*
/wrkdirs/usr/ports/java/openjdk25/work/openjdk-jdk-25-36-freebsd-1/src/hotspot/os_cpu/bsd_ppc/os_bsd_ppc.cpp:182:54:
error: no member named 'regs' in '__mcontext' |
25+36.f.1 27 Oct 2025 14:29:55
    |
Harald Eilertsen (haraldei)  |
java/openjdk25: New port
An open-source implementation of the Java Platform, Standard Edition.
WWW: https://openjdk.java.net/projects/jdk/25/
Reviewed by: jrm, bofh
Approved by: fuz (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53326 |