JEP 102- Process API Updates Process API Updates Java 9 has come with the changes which will let you fetch the pid of a process. Following code shows how to get a pid with Java 9 getPid function internally call getProcessId0 with process’s handle to