JDK-8209057 : javac --release 11 "error: release version 11 not supported"
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 12
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2018-08-07
  • Updated: 2018-11-19
  • Resolved: 2018-11-19
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 12
12Resolved
Related Reports
Duplicate :  
Description
--release 12 works fine on 12, whereas 11 throws below error

-sh-4.2$ /scratch/fairoz/JAVA/jdk12/jdk-12-ea+04/bin/javac Test.java --release 12 -Xlint:all

-sh-4.2$ /scratch/fairoz/JAVA/jdk12/jdk-12-ea+04/bin/javac Test.java --release 11 -Xlint:all
error: release version 11 not supported
Usage: javac <options> <source files>
use --help for a list of possible options

Comments
Fixed as JDK-8207954.
19-11-2018