Java LanguageMulti-Release JAR Files

Introduction

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.

Related Examples

Creating a multi-release Jar using the jar tool