Java Platform, Standard Edition Development Kit (JDK). The JDK is a development environment for building applications and components using the Java programming language. This software is provided under the Oracle No-Fee Terms and Conditions (NFTC) license (https://java.com/freeuselicense). Oracle JDK 17.0.13 and later are only available under the OTN license and therefore cannot be made available via MacPorts. If you require an up-to-date JDK 17, consider installing the 'openjdk17' or another openjdk17-* port instead.
Java Platform, Standard Edition Development Kit (JDK). The JDK is a development environment for building applications and components using the Java programming language. This software is provided under the Oracle No-Fee Terms and Conditions (NFTC) license (https://java.com/freeuselicense). Oracle JDK 17.0.13 and later are only available under the OTN license and therefore cannot be made available via MacPorts. If you require an up-to-date JDK 17, consider installing the 'openjdk17' or another openjdk17-* port instead.
To install jdk17, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install jdk17
To see what files were installed by jdk17, run:
port contents jdk17
To later upgrade jdk17, run:
sudo port selfupdate && sudo port upgrade jdk17
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.