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 photos
All times are UTC
Ukraine
Port details
openjdk25 Java Development Kit 25
25.0.2+10.f.1_1 java on this many watch lists=1 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 25.0.1+8.f.1Version of this port present on the latest quarterly branch.
Maintainer: java@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-10-27 14:33:07
Last Update: 2026-02-28 13:32:44
Commit Hash: 46e595f
People watching this port, also watch:: pfstools, tmux
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.
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
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: openjdk-jre
  • headless: openjdk25-headless
  • jre_headless: openjdk25-jre-headless
ONLY_FOR_ARCHS: aarch64 amd64 powerpc64 powerpc64le
distinfo:
TIMESTAMP = 1772104685 SHA256 (openjdk25-25.0.1+8.f.1.aarch64.tar.xz) = cb1d88e0e299a0c2347dbbaa17c3650403a28e8065076cf7898478646c473b2b SIZE (openjdk25-25.0.1+8.f.1.aarch64.tar.xz) = 189254412

Expand this list (8 items)

Collapse this list.

SHA256 (openjdk25-25.0.1+8.f.1.ppc64.tar.xz) = ae3e9658208889233f374b172b06f10b36fb19061d830252384a5e98aebe7184 SIZE (openjdk25-25.0.1+8.f.1.ppc64.tar.xz) = 186892692 SHA256 (openjdk25-25.0.1+8.f.1.ppc64le.tar.xz) = dabfb39d05b31c41c76d6c172af3836b2a6fda9dc86111d7b5730ca780de6223 SIZE (openjdk25-25.0.1+8.f.1.ppc64le.tar.xz) = 188302548 SHA256 (openjdk25-25.0.1+8.f.1.x86_64.tar.xz) = 0449e5a9257d8eb7ed1518af1e4e9e546ee63e4bfaf21e1021e9ab45d2840f27 SIZE (openjdk25-25.0.1+8.f.1.x86_64.tar.xz) = 191262784 SHA256 (freebsd-openjdk-jdk-25.0.2+10-freebsd-1_GH0.tar.gz) = eb8f34a8d0829c66c9eb4decb8b10fbe348a6e99f33fa786067af439f18472a5 SIZE (freebsd-openjdk-jdk-25.0.2+10-freebsd-1_GH0.tar.gz) = 119535862

Collapse this list.


Packages (timestamps in pop-ups are UTC):
openjdk-jre
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest25.0.2+10.f.1_125.0.2+10.f.1_1---n/an/an/a
FreeBSD:13:quarterly25.0.1+8.f.125.0.1+8.f.1---n/an/an/a
FreeBSD:14:latest25.0.2+10.f.1_125.0.2+10.f.1_1------
FreeBSD:14:quarterly25.0.1+8.f.125.0.1+8.f.1------
FreeBSD:15:latest25.0.2+10.f.1_125.0.2+10.f.1_1n/a-n/an/a--
FreeBSD:15:quarterly25.0.1+8.f.125.0.1+8.f.1n/a-n/an/a--
FreeBSD:16:latest25.0.2+10.f.1_125.0.2+10.f.1_1n/a-n/an/a--
 

openjdk25
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest25.0.2+10.f.1_125.0.2+10.f.1_1---n/an/an/a
FreeBSD:13:quarterly25.0.1+8.f.125.0.1+8.f.1---n/an/an/a
FreeBSD:14:latest25.0.2+10.f.1_125.0.2+10.f.1_1------
FreeBSD:14:quarterly25.0.1+8.f.125.0.1+8.f.1------
FreeBSD:15:latest25.0.2+10.f.1_125.0.2+10.f.1_1n/a-n/an/a--
FreeBSD:15:quarterly25.0.1+8.f.125.0.1+8.f.1n/a-n/an/a--
FreeBSD:16:latest25.0.2+10.f.1_125.0.2+10.f.1_1n/a-n/an/a--
 

openjdk25-headless
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest25.0.2+10.f.1_125.0.2+10.f.1_1---n/an/an/a
FreeBSD:13:quarterly25.0.1+8.f.125.0.1+8.f.1---n/an/an/a
FreeBSD:14:latest25.0.2+10.f.1_125.0.2+10.f.1_1------
FreeBSD:14:quarterly25.0.1+8.f.125.0.1+8.f.1------
FreeBSD:15:latest25.0.2+10.f.1_125.0.2+10.f.1_1n/a-n/an/a--
FreeBSD:15:quarterly25.0.1+8.f.125.0.1+8.f.1n/a-n/an/a--
FreeBSD:16:latest25.0.2+10.f.1_125.0.2+10.f.1_1n/a-n/an/a--
 

openjdk25-jre-headless
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest25.0.2+10.f.1_125.0.2+10.f.1_1---n/an/an/a
FreeBSD:13:quarterly25.0.1+8.f.125.0.1+8.f.1---n/an/an/a
FreeBSD:14:latest25.0.2+10.f.1_125.0.2+10.f.1_1------
FreeBSD:14:quarterly25.0.1+8.f.125.0.1+8.f.1------
FreeBSD:15:latest25.0.2+10.f.1_125.0.2+10.f.1_1n/a-n/an/a--
FreeBSD:15:quarterly25.0.1+8.f.125.0.1+8.f.1n/a-n/an/a--
FreeBSD:16:latest25.0.2+10.f.1_125.0.2+10.f.1_1n/a-n/an/a--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cups.h : print/cups
  2. bash : shells/bash
  3. gsed : textproc/gsed
  4. zip : archivers/zip
  5. gmake>=4.4.1 : devel/gmake
  6. pkgconf>=1.3.0_1 : devel/pkgconf
  7. gcc14 : lang/gcc14
  8. as : devel/binutils
  9. autoconf>=2.72_1 : devel/autoconf
  10. automake>=1.18.1 : devel/automake
  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. gcc14 : lang/gcc14
  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
There are no ports dependent upon this port

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:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/freebsd/openjdk/tar.gz/jdk-25.0.2+10-freebsd-1?dummy=/
Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2026-02-26
    Affects: users of java/openjdk*
    Author: ronald@FreeBSD.org
    Reason: 
      Version JAVA_DEFAULT is updated from 8 to 21.
      No specific action should be needed, just a heads-up to test before
      deploying to production as this is quite a big step in versions.
    
    

Number of commits found: 9

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
25.0.2+10.f.1_1
28 Feb 2026 13:32:44
commit hash: 46e595f7284d69de17559eb478b9138d3b3ca585commit hash: 46e595f7284d69de17559eb478b9138d3b3ca585commit hash: 46e595f7284d69de17559eb478b9138d3b3ca585commit hash: 46e595f7284d69de17559eb478b9138d3b3ca585 files touched by this commit
Harald Eilertsen (haraldei) search for other commits by this committer
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
commit hash: 0f26e39d7ca5ce36187a0ace48921a7f27682351commit hash: 0f26e39d7ca5ce36187a0ace48921a7f27682351commit hash: 0f26e39d7ca5ce36187a0ace48921a7f27682351commit hash: 0f26e39d7ca5ce36187a0ace48921a7f27682351 files touched by this commit
Harald Eilertsen (haraldei) search for other commits by this committer
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
commit hash: 8de6fe603338d529fb9ef6c744a5a676370de59bcommit hash: 8de6fe603338d529fb9ef6c744a5a676370de59bcommit hash: 8de6fe603338d529fb9ef6c744a5a676370de59bcommit hash: 8de6fe603338d529fb9ef6c744a5a676370de59b files touched by this commit
Harald Eilertsen (haraldei) search for other commits by this committer
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
commit hash: 2adc4bef7df69089f28bd4525c58238aebc4a34dcommit hash: 2adc4bef7df69089f28bd4525c58238aebc4a34dcommit hash: 2adc4bef7df69089f28bd4525c58238aebc4a34dcommit hash: 2adc4bef7df69089f28bd4525c58238aebc4a34d files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: c8fa124a26dc8469ad544e3cf888fa46a24084becommit hash: c8fa124a26dc8469ad544e3cf888fa46a24084becommit hash: c8fa124a26dc8469ad544e3cf888fa46a24084becommit hash: c8fa124a26dc8469ad544e3cf888fa46a24084be files touched by this commit
Harald Eilertsen (haraldei) search for other commits by this committer
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
commit hash: 558ad9ce89912a8c688d03c7e2560b55d49c5541commit hash: 558ad9ce89912a8c688d03c7e2560b55d49c5541commit hash: 558ad9ce89912a8c688d03c7e2560b55d49c5541commit hash: 558ad9ce89912a8c688d03c7e2560b55d49c5541 files touched by this commit
Harald Eilertsen (haraldei) search for other commits by this committer
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
commit hash: fe94eea55572b109ad291b3607ba59caff917a7ecommit hash: fe94eea55572b109ad291b3607ba59caff917a7ecommit hash: fe94eea55572b109ad291b3607ba59caff917a7ecommit hash: fe94eea55572b109ad291b3607ba59caff917a7e files touched by this commit
Harald Eilertsen (haraldei) search for other commits by this committer
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
commit hash: 8d4a2af5d9dd3dfa0541c2fdd356a94e1340fe6dcommit hash: 8d4a2af5d9dd3dfa0541c2fdd356a94e1340fe6dcommit hash: 8d4a2af5d9dd3dfa0541c2fdd356a94e1340fe6dcommit hash: 8d4a2af5d9dd3dfa0541c2fdd356a94e1340fe6d files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
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
commit hash: dd93e1a47a370390e1730fcaab11fd83a0fc64eacommit hash: dd93e1a47a370390e1730fcaab11fd83a0fc64eacommit hash: dd93e1a47a370390e1730fcaab11fd83a0fc64eacommit hash: dd93e1a47a370390e1730fcaab11fd83a0fc64ea files touched by this commit
Harald Eilertsen (haraldei) search for other commits by this committer
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

Number of commits found: 9