notbug ipv6 ready As 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
openjdk26 Java Development Kit 26
26+35.1_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 26+35.1_1Version of this port present on the latest quarterly branch.
Maintainer: java@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-03-23 08:18:50
Last Update: 2026-04-13 13:07:20
Commit Hash: a11bc04
Also Listed In: devel
License: GPLv2
WWW:
https://openjdk.java.net/projects/jdk/26/
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:
  • openjdk26>0:java/openjdk26
To install the port:
cd /usr/ports/java/openjdk26/ && make install clean
To add the package, run one of these commands:
  • pkg install java/openjdk26
  • pkg install openjdk26
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: openjdk26
Package flavors (<flavor>: <package>)
  • jdk: openjdk26
  • jre: openjdk26-jre
  • headless: openjdk26-headless
  • jre_headless: openjdk26-jre-headless
ONLY_FOR_ARCHS: aarch64 amd64 powerpc64 powerpc64le
distinfo:
TIMESTAMP = 1773920001 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-26+35-1_GH0.tar.gz) = c5db71942e814bcc44c6788536a062678e43856dfaa08549e77fc90e838e0816 SIZE (freebsd-openjdk-jdk-26+35-1_GH0.tar.gz) = 121724470

Collapse this list.


Packages (timestamps in pop-ups are UTC):
openjdk-jre
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-26+35.1---n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest26+35.1-n/a-n/an/a--
 
openjdk26
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-26+35.1---n/an/an/a
FreeBSD:13:quarterly-26+35.1_1---n/an/an/a
FreeBSD:14:latest26+35.1_126+35.1_1------
FreeBSD:14:quarterly26+35.1_126+35.1_1------
FreeBSD:15:latest26+35.1_126+35.1_1n/a-n/an/a--
FreeBSD:15:quarterly26+35.1_126+35.1_1n/a-n/an/a--
FreeBSD:16:latest26+35.126+35.1_1n/a-n/an/a--
 
openjdk26-headless
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-26+35.1---n/an/an/a
FreeBSD:13:quarterly-26+35.1_1---n/an/an/a
FreeBSD:14:latest26+35.1_126+35.1_1------
FreeBSD:14:quarterly26+35.1_126+35.1_1------
FreeBSD:15:latest26+35.1_126+35.1_1n/a-n/an/a--
FreeBSD:15:quarterly26+35.1_126+35.1_1n/a-n/an/a--
FreeBSD:16:latest26+35.126+35.1_1n/a-n/an/a--
 
openjdk26-jre
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-26+35.1_1---n/an/an/a
FreeBSD:14:latest26+35.1_126+35.1_1------
FreeBSD:14:quarterly26+35.1_126+35.1_1------
FreeBSD:15:latest26+35.1_126+35.1_1n/a-n/an/a--
FreeBSD:15:quarterly26+35.1_126+35.1_1n/a-n/an/a--
FreeBSD:16:latest-26+35.1_1n/a-n/an/a--
 
openjdk26-jre-headless
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-26+35.1---n/an/an/a
FreeBSD:13:quarterly-26+35.1_1---n/an/an/a
FreeBSD:14:latest26+35.1_126+35.1_1------
FreeBSD:14:quarterly26+35.1_126+35.1_1------
FreeBSD:15:latest26+35.1_126+35.1_1n/a-n/an/a--
FreeBSD:15:quarterly26+35.1_126+35.1_1n/a-n/an/a--
FreeBSD:16:latest26+35.126+35.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.73 : 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_openjdk26
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-26+35-1?dummy=/
Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2026-03-29
    Affects: users of java/openjdk25 and java/openjdk26 with the jre flavor
    Author: jrm@FreeBSD.org
    Reason: 
      The openjdk-jre packages for versions 25 and 26 have been renamed.  Users with
      the old package names installed should run the following /bin/sh script with
      superuser privileges before upgrading.
    
      jre=$(pkg query -g %n-%v "*openjdk-jre-25*" "*openjdk-jre-26*")
      if echo "$jre" | grep -q "\-25"; then
          on=$(pkg query -g %n "*openjdk-jre-25*")
          nn="openjdk25-jre"
      elif echo "$jre" | grep -q "\-26"; then
          on=$(pkg query -g %n "*openjdk-jre-26*")
          nn="openjdk26-jre"
      fi
      if [ -n "$nn" ]; then
          pkg set -yn "$on":"$nn"
      fi
    
    
Expand this list (1 items)
  • 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.
    
    
  • Collapse this list.

Number of commits found: 4

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
26+35.1_1
13 Apr 2026 13:07:20
commit hash: a11bc0460b4547d068ddcee266419466e5ea13d0commit hash: a11bc0460b4547d068ddcee266419466e5ea13d0commit hash: a11bc0460b4547d068ddcee266419466e5ea13d0commit hash: a11bc0460b4547d068ddcee266419466e5ea13d0 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
java/openjdk26: fix build on powerpc64*

1. atomicAccess and orderAccess are implemented project-wide for ppc
on all systems.
2. Sync os_bsd_ppc.cpp with linux to fix SIGABRT.
26+35.1_1
08 Apr 2026 14:12:20
commit hash: 6fe56cc444f47fe6180bb976ef0980a6d4ef906bcommit hash: 6fe56cc444f47fe6180bb976ef0980a6d4ef906bcommit hash: 6fe56cc444f47fe6180bb976ef0980a6d4ef906bcommit hash: 6fe56cc444f47fe6180bb976ef0980a6d4ef906b files touched by this commit
Harald Eilertsen (haraldei) search for other commits by this committer
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
26+35.1_1
28 Mar 2026 10:25:18
commit hash: ad618043f3d2146896fadaa62c7a63e8ddd649cbcommit hash: ad618043f3d2146896fadaa62c7a63e8ddd649cbcommit hash: ad618043f3d2146896fadaa62c7a63e8ddd649cbcommit hash: ad618043f3d2146896fadaa62c7a63e8ddd649cb files touched by this commit
Harald Eilertsen (haraldei) search for other commits by this committer
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
26+35.1
23 Mar 2026 08:15:55
commit hash: dd0268f9f5d963d03c4e037d29c12122b3584e64commit hash: dd0268f9f5d963d03c4e037d29c12122b3584e64commit hash: dd0268f9f5d963d03c4e037d29c12122b3584e64commit hash: dd0268f9f5d963d03c4e037d29c12122b3584e64 files touched by this commit
Harald Eilertsen (haraldei) search for other commits by this committer
java/openjdk26: Add port

Includes relevant fixes for FreeBSD from mainline development, but
otherwise identical to the upstream release.

Release notes for the upstream release is here:
https://www.oracle.com/java/technologies/javase/26-relnote-issues.html

FreeBSD related fixes on top of the upstream relese:
- Serviceability Agent: fix stack traces in threads.
- Serviceability Agent: simplify implementation of procadd_read_data to
  read memory from process being traced.
- Serviceability Agent: symbol lookup would occationally fail for native
  symbols in shared objects.

Reviewed by:	fuz (mentor), jrm
Approved by:	fuz (mentor), jrm
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D55938

Number of commits found: 4