private static OperatingSystem findCurrentOperatingSystem() {
		String operatingSystemNameProperty = System.getProperty("os.name");
		for (OperatingSystem operatingSystem : values()) {
			if (operatingSystemNameProperty.toLowerCase().indexOf(
					operatingSystem.operatingSystemName.toLowerCase()) > -1) {
				return operatingSystem;
			}
		}
		return UNSUPPORTED;
	}
Do not access this property directly. Access using Platform class.
Ghidra/Framework/Utility/src/main/java/ghidra/framework/OperatingSystem.java