Java LanguageMulti-Release JAR Files
One of the features introduced in Java 9 is the multi-release Jar (MRJAR) which allows bundling code targeting multiple Java releases within the same Jar file. The feature is specified in JEP 238.
Creating a multi-release Jar using the jar tool
This modified text is an extract of the original Stack Overflow Documentation created by following contributors
and released under CC BY-SA 3.0