Class JavaService.JavaRuntime
- Namespace
- McServerLauncher.Services
- Assembly
- McServerLauncher.dll
What a Java executable is, as far as the command line the app builds cares.
public record JavaService.JavaRuntime : IEquatable<JavaService.JavaRuntime>
- Inheritance
-
JavaService.JavaRuntime
- Implements
- Inherited Members
Constructors
JavaRuntime(int, bool, bool)
What a Java executable is, as far as the command line the app builds cares.
public JavaRuntime(int Major, bool IsOpenJ9, bool Is64Bit)
Parameters
MajorintThe feature release (8, 17, 21, 25…). 0 when it could not be read.
IsOpenJ9boolAn Eclipse OpenJ9 VM (IBM Semeru) rather than HotSpot: it rejects HotSpot's
-XX:tuning options, so the memory profile gives it only the heap size.Is64BitboolFalse for a 32-bit JVM, which cannot have a heap much above 1 GB.
Fields
Unknown
A Java that could not be asked: no extra flags, no cap.
public static readonly JavaService.JavaRuntime Unknown
Field Value
Properties
Is64Bit
False for a 32-bit JVM, which cannot have a heap much above 1 GB.
public bool Is64Bit { get; init; }
Property Value
IsOpenJ9
An Eclipse OpenJ9 VM (IBM Semeru) rather than HotSpot: it rejects
HotSpot's -XX: tuning options, so the memory profile gives it only the heap size.
public bool IsOpenJ9 { get; init; }
Property Value
Major
The feature release (8, 17, 21, 25…). 0 when it could not be read.
public int Major { get; init; }