Tag Archives: PID Java

Retrieving the Process ID (PID) in Java

Sometimes it is necessary for a Java application to retrieve it’s own process id. An example of where this could be required is for logging/debugging purposes. Below is a simple “Java way” (there are other ways to discover the process … Continue reading

Posted in Java | Tagged , | Leave a comment