Prior to Java 9, we could use the mJRE (Multiple JRE) feature to specify a specific JRE version, or range of versions, for launching our applications. We would accomplish this via the command-line option -version or with an entry in the JAR file's manifest. The following flowchart illustrates what happens based on our selection:
This functionality was introduced with JDK 5 and was not fully documented in that release or any subsequent release prior to JDK 9.
The following specific changes were introduced with the Java 9 platform:
- The mJRE feature has been removed.
- The launcher will now produce ...