klyn.Application.properties
property

    public static native readonly property properties as Map<String, String>

Description

System properties exposed by the runtime.

Known keys are:

- `klyn.home`: resolved Klyn home directory.
- `klyn.version`: runtime version.
- `klyn.launchDirectory`: process launch directory.
- `klyn.cacheDirectory`: versioned compiler/runtime cache directory.
- `os.name`: normalized operating system name (`Windows`, `Linux`, `MacOS`, `Android`, `FreeBSD` or `Unknown`).
- `os.arch`: native target architecture (`x86_64`, `x86`, `aarch64`, `arm`, `riscv64`, `riscv32` or `unknown`).
- `os.logicalProcessors`: logical processor count when available.
- `os.tempfolder`: temporary folder.
- `user.home`: current user home directory when available.
- `screen.width`: primary screen width on Windows when available.
- `screen.height`: primary screen height on Windows when available.
- `screen.dpi`: primary screen DPI on Windows when available.

Example

    print(Application.properties["klyn.home"])
    print(Application.properties["os.name"])
    print(Application.properties["os.logicalProcessors"])