Port details |
- openjdk18 Java Development Kit 18
- 18.0.2+9.1_2 java =2 18.0.2+9.1_2Version of this port present on the latest quarterly branch.
- Maintainer: java@FreeBSD.org
- Port Added: 2022-04-10 21:06:04
- Last Update: 2024-09-15 11:36:13
- Commit Hash: 3378cc4
- 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/18/
- 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 - 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):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- zip : archivers/zip
- autoconf>0 : devel/autoconf
- cups.h : print/cups
- bash : shells/bash
- gsed : textproc/gsed
- gmake>=4.4.1 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- javac : java/bootstrap-openjdk17
- gcc13 : lang/gcc13
- as : devel/binutils
- 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
- gcc13 : lang/gcc13
- 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
-
- java/openjdk19
- for Run
-
- 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
18.0.2+9.1_2 15 Sep 2024 11:36:13 |
Dimitry Andric (dim) |
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 |
18.0.2+9.1_2 01 Jul 2024 20:27:23 |
Rene Ladan (rene) |
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 |
18.0.2+9.1_2 05 Jan 2024 21:01:09 |
Piotr Kubaj (pkubaj) |
java/openjdk18: drop ELFv1 support |
18.0.2+9.1_2 31 Dec 2023 00:37:05 |
Muhammad Moinur Rahman (bofh) |
*/*: 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 |
Dimitry Andric (dim) |
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 ) |
18.0.2+9.1_2 28 Jul 2023 17:13:17 |
Daniel Engberg (diizzy) |
*/*: Bump jpeg-turbo users treewide
New major version 3.0.0 |
18.0.2+9.1_1 02 Feb 2023 04:49:05 |
Greg Lewis (glewis) |
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 |
Greg Lewis (glewis) |
java/openjdk18: Attempt to fix the build for i386 |
18.0.2+9.1_1 18 Dec 2022 17:37:49 |
Dimitry Andric (dim) |
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 ) |
18.0.2+9.1_1 04 Nov 2022 06:43:18 |
Greg Lewis (glewis) |
java/openjdk18: Use the distributed cacerts
PR: 266723
Reported by: Michael Osipov <michael.osipov@siemens.com> |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
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 |
Stefan Eßer (se) |
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 ) |
18.0.2+9.1 03 Aug 2022 02:27:22 |
Greg Lewis (glewis) |
java/openjdk18: Update to 18.0.2 |
18.0.1+10.1 08 May 2022 05:24:21 |
Greg Lewis (glewis) |
java/openjdk18: Fix the build on aarch64 |
18.0.1+10.1 05 May 2022 05:22:08 |
Greg Lewis (glewis) |
java/openjdk18: Update to 18.0.1 GA |
18+37.1 10 Apr 2022 21:03:15 |
Greg Lewis (glewis) |
java/openjdk18: Fix build with Clang 14 |
18+37.1 10 Apr 2022 21:03:15 |
Greg Lewis (glewis) |
java/openjdk18: Add a port of OpenJDK 18 |