Retrieves the current process' ID
when:
Java9+ and module 'java.management' is not present
Kotlin/Js or Kotlin/WasmJs Browser