JDK-8302602 : Release Note: Remove Support for javac -source/-target/--release 7
  • Type: Sub-task
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2023-02-15
  • Updated: 2023-02-17
  • Resolved: 2023-02-17
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 20
20Resolved
Description
Consistent with the policy outlined in [JEP 182: Policy for Retiring javac -source and -target Options](https://openjdk.java.net/jeps/182), support for the 7/1.7 argument value for javac's `-source`, `-target`, and `--release` flags has been removed.