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