I have a maven project using Java 17. The maven-compiler-pugin
is set to <release>17</release>
.
If I build this project with a newer JDK version (for example 21), will the produced Jar still be runnable with a JRE 17?
I have a maven project using Java 17. The maven-compiler-pugin
is set to <release>17</release>
.
If I build this project with a newer JDK version (for example 21), will the produced Jar still be runnable with a JRE 17?