JDK-8310471 : Release Note: `Jdeps -profile` and `-P` Option Have Been Removed
  • Type: Sub-task
  • Component: tools
  • Affected Version: 22
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2023-06-20
  • Updated: 2024-02-16
  • Resolved: 2023-06-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 22
22Resolved
Description
Compact profiles became obsolete in Java SE 9 when modules were introduced.  The `jdeps` `-profile` and `-P` options were deprecated for removal in JDK 21 and now removed in JDK 22.   Customers can use `jdeps` to find the set of modules required by their applications instead.