Jvm minor version vs compiler minor version
2 answers
The JDK version doesn't really matter, the version is the format file version . Until now, a minor version of the class file format has not been used, and changes in the major version have always been consistent with the major JDK release (counting 1.2 → 1.3 → 1.4 as major releases).
In addition, the option -target
javac
can be used to create class files compatible with older versions.
+3
a source to share