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
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
openjdk18 Java Development Kit 18
18.0.2+9.1_2 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 18.0.2+9.1_2Version of this port present on the latest quarterly branch.
Maintainer: java@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2022-04-10 21:06:04
Last Update: 2024-01-05 21:01:09
Commit Hash: 85165d2
Also Listed In: devel
License: GPLv2
WWW:
https://openjdk.java.net/projects/jdk/18/
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/openjdk18-18.0.2+9.1_2/catalog.mk
  2. /usr/local/share/licenses/openjdk18-18.0.2+9.1_2/LICENSE
  3. /usr/local/share/licenses/openjdk18-18.0.2+9.1_2/GPLv2
Collapse this list.
Dependency lines:
  • openjdk18>0:java/openjdk18
To install the port:
cd /usr/ports/java/openjdk18/ && make install clean
To add the package, run one of these commands:
  • pkg install java/openjdk18
  • pkg install openjdk18
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: openjdk18
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 i386 powerpc64 powerpc64le
distinfo:
TIMESTAMP = 1659446153 SHA256 (battleblow-jdk18u-jdk-18.0.2+9-1_GH0.tar.gz) = ad941ee9407015986f26cd7c6be60fb460d87ab7b87c7cbfe75e6f31711be501 SIZE (battleblow-jdk18u-jdk-18.0.2+9-1_GH0.tar.gz) = 105593810

Packages (timestamps in pop-ups are UTC):
openjdk18
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest18.0.2+9.1_218.0.2+9.1_2--18.0.2+9.1_2---
FreeBSD:13:quarterly18.0.2+9.1_218.0.2+9.1_2--18.0.2+9.1_2-18.0.2+9.1_218.0.2+9.1_2
FreeBSD:14:latest18.0.2+9.1_218.0.2+9.1_2--18.0.2+9.1_2--18.0.2+9.1_1
FreeBSD:14:quarterly18.0.2+9.1_218.0.2+9.1_2--18.0.2+9.1_2-18.0.2+9.1_218.0.2+9.1_2
FreeBSD:15:latest18.0.2+9.1_218.0.2+9.1_2n/a-n/a-18.0.2+9.1_218.0.2+9.1_2
FreeBSD:15:quarterly--n/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.3 : devel/gmake
  7. pkgconf>=1.3.0_1 : devel/pkgconf
  8. javac : java/bootstrap-openjdk17
  9. gcc12 : lang/gcc12
  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. gcc12 : lang/gcc12
  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/openjdk19
for Run
  1. net/activemq

Configuration Options:
No options to configure
Options name:
java_openjdk18
USES:
compiler:features cpe gmake iconv jpeg pkgconfig xorg
pkg-message:
For install:
This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and procfs(5) mounted on /proc. 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/jdk18u/tar.gz/jdk-18.0.2+9-1?dummy=/
Collapse this list.

Number of commits found: 15

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
18.0.2+9.1_2
05 Jan 2024 21:01:09
commit hash: 85165d2aeb3d82141bef5d1bb09dc261e70845bbcommit hash: 85165d2aeb3d82141bef5d1bb09dc261e70845bbcommit hash: 85165d2aeb3d82141bef5d1bb09dc261e70845bbcommit hash: 85165d2aeb3d82141bef5d1bb09dc261e70845bb files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
java/openjdk18: drop ELFv1 support
18.0.2+9.1_2
31 Dec 2023 00:37:05
commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree

- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
18.0.2+9.1_2
12 Nov 2023 20:04:01
commit hash: b8ff2feb5df79c0f6c3ac3d8746cc19567a1903bcommit hash: b8ff2feb5df79c0f6c3ac3d8746cc19567a1903bcommit hash: b8ff2feb5df79c0f6c3ac3d8746cc19567a1903bcommit hash: b8ff2feb5df79c0f6c3ac3d8746cc19567a1903b files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
java/openjdk18: fix build with lld 17

Building java/openjdk18 with lld 17 results in the following link errors:

  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZ21WB_HandshakeWalkStackE16TraceSelfClosure' failed: symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZ24WB_HandshakeReadMonitorsE19ReadMonitorsClosure' failed: symbol not
defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZ26WB_AsyncHandshakeWalkStackE16TraceSelfClosure' failed: symbol not
defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZL20reinitialize_itablesvE18ReinitTableClosure' failed: symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN12JvmtiEnvBase27check_for_periodic_clean_upEvE28ThreadInsideIterationClosure'
failed: symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN15G1RemSetSummary6updateEvE11CollectData' failed: symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN16SATBMarkQueueSet22set_active_all_threadsEbbE22SetThreadActiveClosure'
failed: symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN16SATBMarkQueueSet23abandon_partial_markingEvE25AbandonThreadQueueClosure'
failed: symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN18G1ConcurrentRefine30get_and_reset_refinement_statsEvE12CollectStats'
failed: symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN19G1DirtyCardQueueSet12abandon_logsEvE23AbandonThreadLogClosure' failed:
symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol
'_ZTVZN19G1DirtyCardQueueSet16concatenate_logsEvE27ConcatenateThreadLogClosure'
failed: symbol not defined
(Only the first 15 lines of the commit message are shown above View all of this commit message)
18.0.2+9.1_2
28 Jul 2023 17:13:17
commit hash: 664a2fa1e56e670a356f54c94389bdb47d868f3fcommit hash: 664a2fa1e56e670a356f54c94389bdb47d868f3fcommit hash: 664a2fa1e56e670a356f54c94389bdb47d868f3fcommit hash: 664a2fa1e56e670a356f54c94389bdb47d868f3f files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
*/*: Bump jpeg-turbo users treewide

New major version 3.0.0
18.0.2+9.1_1
02 Feb 2023 04:49:05
commit hash: 5d7631b4566ab101b5030fcbc87a55a520f01ae6commit hash: 5d7631b4566ab101b5030fcbc87a55a520f01ae6commit hash: 5d7631b4566ab101b5030fcbc87a55a520f01ae6commit hash: 5d7631b4566ab101b5030fcbc87a55a520f01ae6 files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk18: Fix the build on aarch64

* Apply a similar patch as was applied to java/openjdk17
* Remove a patch which has been upstreamed
18.0.2+9.1_1
08 Jan 2023 04:33:46
commit hash: d2746c6ad113c01b5616fa48ed69905eb7b47de2commit hash: d2746c6ad113c01b5616fa48ed69905eb7b47de2commit hash: d2746c6ad113c01b5616fa48ed69905eb7b47de2commit hash: d2746c6ad113c01b5616fa48ed69905eb7b47de2 files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk18: Attempt to fix the build for i386
18.0.2+9.1_1
18 Dec 2022 17:37:49
commit hash: 430ead7025c8f32aa67b6c8d99583bbb68969dbbcommit hash: 430ead7025c8f32aa67b6c8d99583bbb68969dbbcommit hash: 430ead7025c8f32aa67b6c8d99583bbb68969dbbcommit hash: 430ead7025c8f32aa67b6c8d99583bbb68969dbb files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
java/openjdk18: fix build with clang 15

During an exp-run for llvm 15 (see bug 265425), it turned out that
java/openjdk18 failed to build with clang 15:

 
/wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:374:41:
error: passing arguments to a function without a prototype is deprecated in all
versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
      proxies = (*g_proxy_resolver_lookup)(resolver, uri, NULL, &error);
                                          ^
 
/wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:393:63:
error: passing arguments to a function without a prototype is deprecated in all
versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
                                  (*g_network_address_parse_uri)(proxies[i], 0,
                                                                ^
 
/wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:398:70:
error: passing arguments to a function without a prototype is deprecated in all
versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
                              phost = (*g_network_address_get_hostname)(conn);
                                                                       ^
 
/wrkdirs/usr/ports/java/openjdk18/work/jdk18u-jdk-18.0.2-9-1/src/java.base/unix/native/libnet/DefaultProxySelector.c:399:66:
error: passing arguments to a function without a prototype is deprecated in all
versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
(Only the first 15 lines of the commit message are shown above View all of this commit message)
18.0.2+9.1_1
04 Nov 2022 06:43:18
commit hash: add6dd031a6aa7eb7d7f51e2c278f8c27ba27426commit hash: add6dd031a6aa7eb7d7f51e2c278f8c27ba27426commit hash: add6dd031a6aa7eb7d7f51e2c278f8c27ba27426commit hash: add6dd031a6aa7eb7d7f51e2c278f8c27ba27426 files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk18: Use the distributed cacerts

PR:		266723
Reported by:	Michael Osipov <michael.osipov@siemens.com>
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
18.0.2+9.1
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
18.0.2+9.1
03 Aug 2022 02:27:22
commit hash: 28b0ae0fe75ee2f922efdb853faa2ce735002546commit hash: 28b0ae0fe75ee2f922efdb853faa2ce735002546commit hash: 28b0ae0fe75ee2f922efdb853faa2ce735002546commit hash: 28b0ae0fe75ee2f922efdb853faa2ce735002546 files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk18: Update to 18.0.2
18.0.1+10.1
08 May 2022 05:24:21
commit hash: 1a550987749db80b46153ef8ad5016313b23a51ecommit hash: 1a550987749db80b46153ef8ad5016313b23a51ecommit hash: 1a550987749db80b46153ef8ad5016313b23a51ecommit hash: 1a550987749db80b46153ef8ad5016313b23a51e files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk18: Fix the build on aarch64
18.0.1+10.1
05 May 2022 05:22:08
commit hash: 577275551f536d17908417adce7d531b26a72361commit hash: 577275551f536d17908417adce7d531b26a72361commit hash: 577275551f536d17908417adce7d531b26a72361commit hash: 577275551f536d17908417adce7d531b26a72361 files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk18: Update to 18.0.1 GA
18+37.1
10 Apr 2022 21:03:15
commit hash: 7bcde8fa251a0d295de4ff9e2d9705f5ef1f77a1commit hash: 7bcde8fa251a0d295de4ff9e2d9705f5ef1f77a1commit hash: 7bcde8fa251a0d295de4ff9e2d9705f5ef1f77a1commit hash: 7bcde8fa251a0d295de4ff9e2d9705f5ef1f77a1 files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk18: Fix build with Clang 14
18+37.1
10 Apr 2022 21:03:15
commit hash: 8ba1801ad5d241c8071d87da33d80bdb1be86255commit hash: 8ba1801ad5d241c8071d87da33d80bdb1be86255commit hash: 8ba1801ad5d241c8071d87da33d80bdb1be86255commit hash: 8ba1801ad5d241c8071d87da33d80bdb1be86255 files touched by this commit
Greg Lewis (glewis) search for other commits by this committer
java/openjdk18: Add a port of OpenJDK 18

Number of commits found: 15