Plans to remove -source & -target option 7 in javac?

Joe Darcy joe.darcy at
Wed Aug 4 14:09:58 UTC 2021

Hello Kartik,

Updating JEP 182: "Policy for Retiring javac -source and -target 
Options" ( for the six-month release 
process is a known item to be done. That updated policy would in turn 
guide when -source/-target 7 and now also --release 7 would be dropped.



On 8/4/2021 4:26 AM, Kartik Ohri wrote:
> Hi all!
> JDK-8173605 <> has not been
> updated for some time. Hence, out of curiosity, I ask if there are
> currently any plans to remove the -source & -target 7 options in javac in
> JDK 18?
> Regards,
> Kartik

More information about the jdk-dev mailing list