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 on branch 2024Q3
openjdk17 Java Development Kit 17
17.0.11+9.1 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 17.0.11+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-08-07 16:54:20
Last Update: 2024-09-15 11:39:30
Commit Hash: b561099
Also Listed In: devel
License: GPLv2
WWW:
https://openjdk.java.net/projects/jdk/17/
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/openjdk17-17.0.11+9.1/catalog.mk
  2. /usr/local/share/licenses/openjdk17-17.0.11+9.1/LICENSE
  3. /usr/local/share/licenses/openjdk17-17.0.11+9.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:
TIMESTAMP = 1714539812 SHA256 (battleblow-jdk17u-jdk-17.0.11+9-1_GH0.tar.gz) = b4282b1aa773482a5d45c7b3c806042d4ef8217c5bb1bbb397616fb5f0345006 SIZE (battleblow-jdk17u-jdk-17.0.11+9-1_GH0.tar.gz) = 106698083

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
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.4.1 : devel/gmake
  7. pkgconf>=1.3.0_1 : devel/pkgconf
  8. javac : java/bootstrap-openjdk17
  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 Run
  1. devel/jenkins
  2. www/tomcat-devel

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
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/battleblow/jdk17u/tar.gz/jdk-17.0.11+9-1?dummy=/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
17.0.11+9.1
15 Sep 2024 11:39:30
commit hash: b56109991d7a20f8c343c0397d6eb01073972374commit hash: b56109991d7a20f8c343c0397d6eb01073972374commit hash: b56109991d7a20f8c343c0397d6eb01073972374commit hash: b56109991d7a20f8c343c0397d6eb01073972374 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

(cherry picked from commit 3378cc494de65725a36e8ff5aaa205273521ba52)
17.0.11+9.1
07 Aug 2024 16:51:46
commit hash: 50cdf3908631cd59cf470624850f5f4bb5bed5a2commit hash: 50cdf3908631cd59cf470624850f5f4bb5bed5a2commit hash: 50cdf3908631cd59cf470624850f5f4bb5bed5a2commit hash: 50cdf3908631cd59cf470624850f5f4bb5bed5a2 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
java/openjdk17: fix build with clang 19

Clang 19 has a number of new warnings, and because java/openjdk17
compiles with -Werror by default, it results in errors similar to:

   
/wrkdirs/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.12-7-1/src/hotspot/os/posix/signals_posix.cpp:1681:20:
error: cast from 'void (*)(int, siginfo_t *, ucontext_t *)' (aka 'void (*)(int,
__siginfo *, __ucontext *)') to 'void (*)(int)' converts to incompatible
function type [-Werror,-Wcast-function-type-mismatch]
     1681 |   act.sa_handler = (void (*)(int)) SR_handler;
          |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~

I propose to disable warnings-as-errors for this port, similar to what
is already done for openjdk8 and openjdk11. It does not make sense to
have this on by default, unless you are an upstream maintainer.

PR:		280561
Approved by:	glewis (maintainer)
MFH:		2024Q3

(cherry picked from commit 4c37f9f5f253a5701fa94ddfc00520889bca9ea4)

Number of commits found: 2