Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8209057

javac --release 11 "error: release version 11 not supported"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: tools
    • Labels:

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jlahoda Jan Lahoda
              Reporter:
              fmatte Fairoz Matte
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: