Remove launch-time JRE version selection [JEP-231]

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 ...

Get Java 9: Building Robust Modular Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.