-
Notifications
You must be signed in to change notification settings - Fork 6
XX. System (PlatformDetection)
JDLL uses needs to be aware of the characteristics of the system it is running on in order to know which engines can it run and which ones it cannot. The class io.bioimage.modelrunner.system.PlatformDetection
is used to identify the OS, Java version, chip architecture and in ARM64 systems, when Rosetta is being used.
The methods in the class of interest help JDLL finding out if an engine is compatible or not with the system.
Class containing the methods needed to identify the features of the system and JVM JDLL is running on.
Return the operating system where JDLL is running. The return values can be either windows
, linux
or macosx
.
Return the chip architecture of the system. JDLL supports x86_64
and arm64
.
Returns whether JVM is running using Rosetta.
Get whether the system JDLL is running on is Windows or not.
Get whether the system JDLL is running on is Linux or not.
Get whether the system JDLL is running on is MacoOS or not.
Get the Java version of the JVM JDLL is running on