Java 9: Process API got a new boost! Remember This hack : Integer.parseInt(ManagementFactory.getRuntimeMXBean().getName().split("@")[0]); ?! This is a thing that is used in literally thousands of open source projects. So far there has been a limited ability for controlling and managing operating system processes with Java. For example, in order to do something as simple as get your process PID in