notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
FreshPorts needs to find a new hosting provide willing to take a 2U chassis and host it free of charge. This is part of the FreshPorts project. Preferably in the Austin area. This is not a primary server, but it used for development.
Port details
openjdk17 Java Development Kit 17
17.0.4+8.1 java on this many watch lists=1 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 Version of this port present on the latest quarterly branch.
Maintainer: java@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2021-09-25 18:33:07
Last Update: 2022-08-02 13:14:11
Commit Hash: f20eed2
People watching this port, also watch:: py39-pycparser, p5-Net-HTTP, tmux, font-misc-meltho, python
Also Listed In: devel
License: GPLv2
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (3 items)
Collapse this list.
  1. /usr/local/share/licenses/openjdk17-17.0.4+8.1/catalog.mk
  2. /usr/local/share/licenses/openjdk17-17.0.4+8.1/LICENSE
  3. /usr/local/share/licenses/openjdk17-17.0.4+8.1/GPLv2
Collapse this list.
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:
Packages (timestamps in pop-ups are UTC):
openjdk17
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd6417+35.1-
FreeBSD:11:armv6--
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64--
FreeBSD:12:amd6417.0.4+8.117.0.3+7.1
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i38617.0.4+8.117.0.3+7.1
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd6417.0.4+8.117.0.3+7.1
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i38617.0.4+8.117.0.3+7.1
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:13:riscv64--
FreeBSD:14:aarch64--
FreeBSD:14:amd6417.0.4+8.1-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i38617.0.4+8.1-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
FreeBSD:14:riscv64--
 

Slave ports:
  1. java/openjdk17-jre

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. gcc11 : lang/gcc11
  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. gcc11 : lang/gcc11
  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. biology/gatk
  2. cad/digital
  3. science/cdk
for Run
  1. biology/gatk
  2. biology/snpeff
  3. cad/digital
  4. devel/jetbrains-goland
  5. devel/jetbrains-phpstorm
  6. games/minecraft-server
  7. science/cdk

Configuration Options:
Options name:

USES:

pkg-message:
For install:
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/battleblow/jdk17u/tar.gz/jdk-17.0.4+8-1?dummy=/
Collapse this list.

Number of commits found: 20

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
02 Aug 2022 13:14:11
 files touched by this commit commit hash:f20eed28f0b84ea9b09fc2ec26b498f009548156  17.0.4+8.1
Greg Lewis (glewis) search for other commits by this committer
java/openjdk17: Update to 17.0.4
31 May 2022 00:42:52
 files touched by this commit commit hash:0de164bdb551505ac86059866d855a8035de983f  17.0.3+7.1
Greg Lewis (glewis) search for other commits by this committer
Author: Sean Farley
java/openjdk17: Fix an NPE when using a multi-screen X11 setup

PR:		264356
Reported by:	scf@
24 May 2022 20:09:35
 files touched by this commit commit hash:c7d1c247d8ea8f87edd6a5012702a3cd10d99d49  17.0.3+7.1
Rene Ladan (rene) search for other commits by this committer
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
05 May 2022 02:06:32
 files touched by this commit commit hash:49c485c6c1d6e08a3d550191989f8f5efde94a31  17.0.3+7.1
Greg Lewis (glewis) search for other commits by this committer
java/openjdk17: Update to 17.0.3 GA
04 Apr 2022 07:56:40
 files touched by this commit commit hash:e406118f774154589b91dc8d84f7f0320766d5a4  17.0.2+8.1
Dimitry Andric (dim) search for other commits by this committer
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 View all of this commit message)
06 Feb 2022 04:41:36
 files touched by this commit commit hash:57a7e706e61baa0ac3f5dd7631ae0c137762eee3  17.0.2+8.1
Greg Lewis (glewis) search for other commits by this committer
java/openjdk17: Update to 17.0.2 GA
13 Jan 2022 02:43:58
 files touched by this commit commit hash:701f037632a18f528fd7d28eb4584266b7e6be5e  17.0.1+12.1
Jung-uk Kim (jkim) search for other commits by this committer
java/openjdk17-jre: Add JRE-only package for java/openjdk17
31 Dec 2021 09:09:54
 files touched by this commit commit hash:4807e7f988d58e2994e254e0f66d5f4a0f1917ba  17.0.1+12.1
Greg Lewis (glewis) search for other commits by this committer
java/openjdk17: Add i386 support
20 Dec 2021 12:45:04
 files touched by this commit commit hash:69cdd4b12e48a9e2509ffb2e8f2139b1e0f1bec9  17.0.1+12.1
Piotr Kubaj (pkubaj) search for other commits by this committer
java/openjdk17: allow bootstrapping on powerpc64le with bootstrap-openjdk17
20 Dec 2021 01:56:41
 files touched by this commit commit hash:9089fb036dc739eb5a132a4745b5d69df0c1f9e0  17.0.1+12.1
Piotr Kubaj (pkubaj) search for other commits by this committer
java/openjdk17: use java/bootstrap-openjdk17 on powerpc64 elfv2
27 Nov 2021 16:50:26
 files touched by this commit commit hash:11b6514a0129daac85f9600d49d6420844cf96d1  17.0.1+12.1
Greg Lewis (glewis) search for other commits by this committer
java/openjdk17: Use the bootstrap port on supported ARCHs
24 Nov 2021 06:42:07
 files touched by this commit commit hash:c6c4d2ead2fd5b460e0ab975c13e3479065b21f6  17.0.1+12.1
Greg Lewis (glewis) search for other commits by this committer
java/openjdk17: Fix WWW link to point to JDK 17

PR:		259167
Reported by:	cedric@precidata.com
31 Oct 2021 18:07:41
 files touched by this commit commit hash:a9d52e329d39fb914170e582065f10f079eb4c5b  17.0.1+12.1
Greg Lewis (glewis) search for other commits by this committer
java/openjdk17: Update to 17.0.1
16 Oct 2021 12:22:03
 files touched by this commit commit hash:3822416493cfbbed8fe7a487391b40bec956d671  17+35.1_2
Dimitry Andric (dim) search for other commits by this committer
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 View all of this commit message)
10 Oct 2021 00:28:41
 files touched by this commit commit hash:c1b344b0113225b3e2cba70ffc9f571f14c734f1  17+35.1_1
Greg Lewis (glewis) search for other commits by this committer
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
05 Oct 2021 12:06:38
 files touched by this commit commit hash:fb734e4565b65fb1a3d8efacb445900c2e0b131f  17+35.1
Mikael Urankar (mikael) search for other commits by this committer
java/openjdk17: Fix build on aarch64.

Fully initialize FrameForm: Corrects adlc segfault when malloc junk options are
set.

Approved by:	portmgr (build fix blanket)
05 Oct 2021 12:00:36
 files touched by this commit commit hash:9c7b32b9b7f3c0aea08c32560de1f56eb4ba8394  17+35.1
Mikael Urankar (mikael) search for other commits by this committer
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)
30 Sep 2021 22:19:01
 files touched by this commit commit hash:225ed0ac7682711ef0524a19e2c37a64c8d39745  17+35.1
Piotr Kubaj (pkubaj) search for other commits by this committer
java/openjdk17: enable on powerpc64

While here, sort ONLY_FOR_ARCHS.
29 Sep 2021 21:55:53
 files touched by this commit commit hash:670c3c8cd9bde6a4ebc7d79a0087e98f0e3446b9  17+35.1
Piotr Kubaj (pkubaj) search for other commits by this committer
java/openjdk17: port to powerpc64le
25 Sep 2021 18:28:38
 files touched by this commit commit hash:1b1bfbaab23ca81e34ff9ae88c0e0ec375122856  17+35.1
Greg Lewis (glewis) search for other commits by this committer
java/openjdk17: Add a port of OpenJDK 17

* Add a port of OpenJDK 17
* Restrict to amd64 and aarch64 until more platforms are tested

Number of commits found: 20