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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 12
    • 12
    • tools

      --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

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

              Created:
              Updated:
              Resolved: