Port details |
- openjdk17 Java Development Kit 17
- 17.0.7+7.1 java
=0 17.0.6+10.1Version of this port present on the latest quarterly branch. - Maintainer: java@FreeBSD.org
 - Port Added: 2021-09-25 18:33:07
- Last Update: 2023-04-29 17:28:30
- Commit Hash: 261cada
- Also Listed In: devel
- License: GPLv2
- Description:
- An open-source implementation of the Java Platform, Standard Edition,
¦ ¦ ¦ ¦ 
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- openjdk17>0:java/openjdk17
- To install the port:
- cd /usr/ports/java/openjdk17/ && make install clean
- To add the package, run one of these commands:
- pkg install java/openjdk17
- pkg install openjdk17
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: openjdk17
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64 i386 powerpc64 powerpc64le
- distinfo:
- TIMESTAMP = 1682752858
SHA256 (battleblow-jdk17u-jdk-17.0.7+7-1_GH0.tar.gz) = 8c7e1b9643459fd04257834be2053783dfe8ca99d2a7b226682d66e969820733
SIZE (battleblow-jdk17u-jdk-17.0.7+7-1_GH0.tar.gz) = 105679891
Packages (timestamps in pop-ups are UTC):
- Slave ports:
-
- java/openjdk17-jre
- 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.3 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- javac : java/bootstrap-openjdk17
- gcc12 : lang/gcc12
- 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
- gcc12 : lang/gcc12
- 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
-
- biology/figtree
- biology/gatk
- cad/digital
- cad/silice
- cad/surelog
- misc/elki
- science/cdk
- for Patch
-
- sysutils/graylog
- for Run
-
- biology/figtree
- biology/gatk
- biology/snpeff
- cad/digital
- cad/silice
- cad/surelog
- devel/jetbrains-clion
Configuration Options:
- No options to configure
- Options name:
- java_openjdk17
- 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
- WWW: https://openjdk.java.net/projects/jdk/17/
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
17.0.7+7.1 29 Apr 2023 17:28:30
    |
Greg Lewis (glewis)  |
java/openjdk17: Update to 17.0.7 |
17.0.6+10.1 16 Apr 2023 22:48:44
    |
Greg Lewis (glewis)  |
java/openjdk17: Fix use of printf (causes build failures for poudriere)
PR: 267690
Obtained from: Michael Osipov <michael.osipov@siemens.com> |
17.0.6+10.1 24 Jan 2023 05:19:21
    |
Greg Lewis (glewis)  |
java/openjdk17: Fix the build on some aarch64 machines
* Disable CompressedClassPointers on aarch64. This fixes the build
on some aarch64 machines where it previously failed, e.g. RPI4,
and doesn't seem to affect the build on others (AWS aarch64 hardware).
This is based on and uses a patch initially created by ronald@
PR: 260187
Tested by: ronald@ |
17.0.6+10.1 23 Jan 2023 06:06:15
    |
Greg Lewis (glewis)  |
java/openjdk17: Update to 17.0.6 |
17.0.5+8.1_1 18 Dec 2022 17:36:27
    |
Dimitry Andric (dim)  |
java/openjdk17: fix build with clang 15
During an exp-run for llvm 15 (see bug 265425), it turned out that
java/openjdk17 failed to build with clang 15:
/wrkdirs/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.5-8-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/openjdk17/work/jdk17u-jdk-17.0.5-8-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/openjdk17/work/jdk17u-jdk-17.0.5-8-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/openjdk17/work/jdk17u-jdk-17.0.5-8-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 ) |
17.0.5+8.1_1 04 Nov 2022 06:30:13
    |
Greg Lewis (glewis)  |
java/openjdk17: Use the distributed cacerts
PR: 266723
Reported by: Michael Osipov <michael.osipov@siemens.com> |
17.0.5+8.1 29 Oct 2022 22:21:06
    |
Greg Lewis (glewis)  |
java/openjdk17: Update to 17.0.5 |
17.0.4+8.1_1 25 Sep 2022 23:06:59
    |
Greg Lewis (glewis)  |
java/openjdk17: Update to 17.0.4.1 |
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) |
17.0.4+8.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 ) |
17.0.4+8.1 02 Aug 2022 13:14:11
    |
Greg Lewis (glewis)  |
java/openjdk17: Update to 17.0.4 |
17.0.3+7.1 31 May 2022 00:42:52
    |
Greg Lewis (glewis)  Author: Sean Farley |
java/openjdk17: Fix an NPE when using a multi-screen X11 setup
PR: 264356
Reported by: scf@ |
17.0.3+7.1 24 May 2022 20:09:35
    |
Rene Ladan (rene)  |
cleanup: remove expired versions of OpenJDK (12 through 16)
Adjust ports depending on expired versions of OpenJDK:
- biology/snpeff: 12+ -> 17+
- devel/RStudio: 12 -> 11
- www/closure-compiler: 13 -> 11+
Allow java/openjdk17 to use java/openjdk17-bootstrap on i386
too, this builds just fine on 13.1-i386
Remove jdk12-doc as it is no longer relevant.
Clean up Java version calculations in bsd.java.mk
Reviewed by: jwb, java (glewis)
Differential Revision: https://reviews.freebsd.org/D35280 |
17.0.3+7.1 05 May 2022 02:06:32
    |
Greg Lewis (glewis)  |
java/openjdk17: Update to 17.0.3 GA |
17.0.2+8.1 04 Apr 2022 07:56:40
    |
Dimitry Andric (dim)  |
java/openjdk13 java/openjdk14 java/openjdk15 java/openjdk16 java/openjdk17
java/openjdk17-jre: fix build with clang 14
During an exp-run for llvm 14 (see bug 261742), it turned out that
java/openjdk13 and java/openjdk17 fail to build with clang 14 (but this
also affects openjdk14 through 16):
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_objs_serviceThread.o:
/wrkdirs/usr/ports/java/openjdk13/work/jdk13u-jdk-13.0.10-5-1/src/hotspot/share/runtime/serviceThread.cpp:133:15:
error: use of bitwise '|' with boolean operands
[-Werror,-Wbitwise-instead-of-logical]
while (((sensors_changed = LowMemoryDetector::has_pending_requests()) |
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/java/openjdk13/work/jdk13u-jdk-13.0.10-5-1/src/hotspot/share/runtime/serviceThread.cpp:133:15:
note: cast one or both operands to int to silence this warning
/wrkdirs/usr/ports/java/openjdk13/work/jdk13u-jdk-13.0.10-5-1/src/hotspot/share/runtime/serviceThread.cpp:133:15:
error: use of bitwise '|' with boolean operands
[-Werror,-Wbitwise-instead-of-logical]
while (((sensors_changed = LowMemoryDetector::has_pending_requests()) |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (Only the first 15 lines of the commit message are shown above ) |
17.0.2+8.1 06 Feb 2022 04:41:36
    |
Greg Lewis (glewis)  |
java/openjdk17: Update to 17.0.2 GA |
17.0.1+12.1 13 Jan 2022 02:43:58
    |
Jung-uk Kim (jkim)  |
java/openjdk17-jre: Add JRE-only package for java/openjdk17 |
17.0.1+12.1 31 Dec 2021 09:09:54
    |
Greg Lewis (glewis)  |
java/openjdk17: Add i386 support |
17.0.1+12.1 20 Dec 2021 12:45:04
    |
Piotr Kubaj (pkubaj)  |
java/openjdk17: allow bootstrapping on powerpc64le with bootstrap-openjdk17 |
17.0.1+12.1 20 Dec 2021 01:56:41
    |
Piotr Kubaj (pkubaj)  |
java/openjdk17: use java/bootstrap-openjdk17 on powerpc64 elfv2 |
17.0.1+12.1 27 Nov 2021 16:50:26
    |
Greg Lewis (glewis)  |
java/openjdk17: Use the bootstrap port on supported ARCHs |
17.0.1+12.1 24 Nov 2021 06:42:07
    |
Greg Lewis (glewis)  |
java/openjdk17: Fix WWW link to point to JDK 17
PR: 259167
Reported by: cedric@precidata.com |
17.0.1+12.1 31 Oct 2021 18:07:41
    |
Greg Lewis (glewis)  |
java/openjdk17: Update to 17.0.1 |
17+35.1_2 16 Oct 2021 12:22:03
    |
Dimitry Andric (dim)  |
java/openjdk*: work around UB in markOopDesc, fix builds with clang 13
During an exp-run for llvm 13 (see bug 258209), it turned out that
java/openjdk11 through openjdk13 fail to build with clang 13:
=== Output from failing command(s) repeated here ===
* For target jdk__packages_attribute.done:
These crashes are all caused by the markOop/markOopDesc classes, which
are used to keep track of objects, and which are 'marked' using the low
few bits. (See
https://github.com/openjdk/jdk13u/blob/master/src/hotspot/share/oops/markOop.hpp
).
After some laborious bisecting, I found out that these crashes start (Only the first 15 lines of the commit message are shown above ) |
17+35.1_1 10 Oct 2021 00:28:41
    |
Greg Lewis (glewis)  |
java/openjdk17: Fix libfontmanager linkage
* Backport the fix from jdk17u so that --with-harfbuzz=system adds
-lharfbuzz when linking libfontmanager.so
Reported by: barulheira@gmail.com |
17+35.1 05 Oct 2021 12:06:38
    |
Mikael Urankar (mikael)  |
java/openjdk17: Fix build on aarch64.
Fully initialize FrameForm: Corrects adlc segfault when malloc junk options are
set.
Approved by: portmgr (build fix blanket) |
17+35.1 05 Oct 2021 12:00:36
    |
Mikael Urankar (mikael)  |
java/openjdk17: Remove enable-aot configure argument.
The Experimental AOT and JIT Compiler were remove in OpenJDK17:
https://openjdk.java.net/jeps/410
Remove this configure argument as it causes build failure on aarch64:
configure: error: unrecognized options: --enable-aot
Approved by: portmgr (build fix blanket) |
17+35.1 30 Sep 2021 22:19:01
    |
Piotr Kubaj (pkubaj)  |
java/openjdk17: enable on powerpc64
While here, sort ONLY_FOR_ARCHS. |
17+35.1 29 Sep 2021 21:55:53
    |
Piotr Kubaj (pkubaj)  |
java/openjdk17: port to powerpc64le |
17+35.1 25 Sep 2021 18:28:38
    |
Greg Lewis (glewis)  |
java/openjdk17: Add a port of OpenJDK 17
* Add a port of OpenJDK 17
* Restrict to amd64 and aarch64 until more platforms are tested |