Class MRJMania

java.lang.Object
org.stianloader.mrjmania.MRJMania

public final class MRJMania extends Object
Generic meta class for the MRJ-Mania library.
  • Method Details

    • getMRJVersion

      public static final @org.jetbrains.annotations.Range(from=8L, to=2147483647L) int getMRJVersion()
      Obtains the MRJ release version that is currently being used by JVM to read this library.

      The increments are dependent on the used version of MRJMania, though at the point of writing it is 8, 9, 11, 16 and 21. Please note that version 8 is always used if for one reason or another multi-release-jars are disabled - for example due to MRJ being disabled in the MANIFEST.MF file.

      Returns:
      The MRJ release version.