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
openjdk22 Java Development Kit 22
22.0.2+9.1 java on this many watch lists=2 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 22.0.2+9.1Version of this port present on the latest quarterly branch.
Maintainer: java@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-03-03 00:48:05
Last Update: 2025-01-06 14:16:58
Commit Hash: 2cf6bc1
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: devel
License: GPLv2
WWW:
https://openjdk.java.net/projects/jdk/22/
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/openjdk22-22.0.2+9.1/catalog.mk
  2. /usr/local/share/licenses/openjdk22-22.0.2+9.1/LICENSE
  3. /usr/local/share/licenses/openjdk22-22.0.2+9.1/GPLv2
Collapse this list.
Dependency lines:
  • openjdk22>0:java/openjdk22
To install the port:
cd /usr/ports/java/openjdk22/ && make install clean
To add the package, run one of these commands:
  • pkg install java/openjdk22
  • pkg install openjdk22
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: openjdk22
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 i386 powerpc64 powerpc64le
distinfo:
TIMESTAMP = 1722138875 SHA256 (battleblow-jdk22u-jdk-22.0.2+9-1_GH0.tar.gz) = 5e2731b979cab49d5004cf0aca58c642c94c1808c48278bff6c440945874f24c SIZE (battleblow-jdk22u-jdk-22.0.2+9-1_GH0.tar.gz) = 112154344

Packages (timestamps in pop-ups are UTC):
openjdk22
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest22.0.2+9.122.0.2+9.1--22.0.2+9.1---
FreeBSD:13:quarterly22.0.2+9.122.0.2+9.1--22.0.2+9.1---
FreeBSD:14:latest22.0.2+9.122.0.2+9.1--22.0.2+9.1---
FreeBSD:14:quarterly22.0.2+9.122.0.2+9.1--22.0.2+9.1---
FreeBSD:15:latest22.0.2+9.122.0.2+9.1n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. zip : archivers/zip
  2. autoconf>0 : devel/autoconf
  3. cups.h : print/cups
  4. bash : shells/bash
  5. gsed : textproc/gsed
  6. gmake>=4.4.1 : devel/gmake
  7. pkgconf>=1.3.0_1 : devel/pkgconf
  8. javac : java/openjdk21
  9. gcc13 : lang/gcc13
  10. as : devel/binutils
  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. 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/openjdk23
  2. security/zaproxy
for Run
  1. security/zaproxy

Configuration Options:
No options to configure
Options name:
java_openjdk22
USES:
compiler:features cpe gmake iconv jpeg pkgconfig xorg
pkg-message:
For install:
This OpenJDK implementation may require fdescfs(5) mounted on /dev/fd and procfs(5) mounted on /proc for some applications. If you have not done it yet, please do the following: mount -t fdescfs fdesc /dev/fd mount -t procfs proc /proc To make it permanent, you need the following lines in /etc/fstab: fdesc /dev/fd fdescfs rw 0 0 proc /proc procfs rw 0 0
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/battleblow/jdk22u/tar.gz/jdk-22.0.2+9-1?dummy=/
Collapse this list.

Number of commits found: 6

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
22.0.2+9.1
06 Jan 2025 14:16:58
commit hash: 2cf6bc1add649b35668b449ab35fb04ed0a6d263commit hash: 2cf6bc1add649b35668b449ab35fb04ed0a6d263commit hash: 2cf6bc1add649b35668b449ab35fb04ed0a6d263commit hash: 2cf6bc1add649b35668b449ab35fb04ed0a6d263 files touched by this commit
Xavier Beaudouin (kiwi) search for other commits by this committer
java/openjdk*: Update pkg-message information about fdescfs and procfs

OpenJDK installation inform that fdescfs(5) and procfs(5) should be
mounted when using OpenJDK.
After doing some test and some traces, it seems that this should be
no so usefull, some applications will require it, but most of java
applications doesn't seems to suffer to work or performance when
such pseudo FS is not mounted.

So this change request permit to let local administrator to decide if
it is really needed or not.

Sponsored by:	Entersekt (previously Modirum MDpay)
Sponsored by:	Klara Inc.
Approved by:	0mp (mentor)
PR:	283364
22.0.2+9.1
15 Sep 2024 11:36:13
commit hash: 3378cc494de65725a36e8ff5aaa205273521ba52commit hash: 3378cc494de65725a36e8ff5aaa205273521ba52commit hash: 3378cc494de65725a36e8ff5aaa205273521ba52commit hash: 3378cc494de65725a36e8ff5aaa205273521ba52 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
java/openjdk8 java/openjdk11 java/openjdk17 java/openjdk18 java/openjdk19
java/openjdk20 java/openjdk21 java/openjdk22: disable warnings as errors

Generally disable warnings-as-errors for all openjdk ports, removing all
the conditionals we have now for particular architectures and/or
compilers. It does not make sense to have this on by default, unless you
are an upstream maintainer.

PR:		281188
Approved by:	maintainer timeout (2 weeks)
MFH:		2024Q3
22.0.2+9.1
28 Jul 2024 06:08:33
commit hash: 274bbd72a971381b75e46e682ca3fea7a7b8fc0dcommit hash: 274bbd72a971381b75e46e682ca3fea7a7b8fc0dcommit hash: 274bbd72a971381b75e46e682ca3fea7a7b8fc0dcommit hash: 274bbd72a971381b75e46e682ca3fea7a7b8fc0d files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk22: Update to 22.0.2
22+36.1
01 Jul 2024 20:27:23
commit hash: 19d68720f1dac6176557ffa8d9c1684c4cf22608commit hash: 19d68720f1dac6176557ffa8d9c1684c4cf22608commit hash: 19d68720f1dac6176557ffa8d9c1684c4cf22608commit hash: 19d68720f1dac6176557ffa8d9c1684c4cf22608 files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: drop support for FreeBSD 13.2 which reached EOL today

Thanks again to jbeich for noticing various things I overlooked.

Reviewed by:	acm, ashish, eduardo, ehaupt, eugen, jbeich, martymac, mat,
nobukata, sunpoet, tagattie, yuri, arrowd, kde
Differential Revision:	https://reviews.freebsd.org/D45141
22+36.1
11 Apr 2024 22:40:49
commit hash: 36ac8327c05281fb00a570b9b5141ce7e85792ffcommit hash: 36ac8327c05281fb00a570b9b5141ce7e85792ffcommit hash: 36ac8327c05281fb00a570b9b5141ce7e85792ffcommit hash: 36ac8327c05281fb00a570b9b5141ce7e85792ff files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
java/openjdk22: fix build on powerpc64*

Error: failed
/wrkdirs/usr/ports/java/openjdk22/work/jdk22-jdk-22-36-1/build/bsd-ppc64le-server-release/jdk/lib/server/libjvm.so,
because
/wrkdirs/usr/ports/java/openjdk22/work/jdk22-jdk-22-36-1/build/bsd-ppc64le-server-release/jdk/lib/server/libjvm.so:
Undefined symbol "_ZN2os27current_stack_base_and_sizeEPPhPm"
22+36.1
03 Mar 2024 00:46:04
commit hash: 87b8f9783f39171eddf816e4b4e1b38491a7cccdcommit hash: 87b8f9783f39171eddf816e4b4e1b38491a7cccdcommit hash: 87b8f9783f39171eddf816e4b4e1b38491a7cccdcommit hash: 87b8f9783f39171eddf816e4b4e1b38491a7cccd files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk22: Add a port of JDK 22

Number of commits found: 6