Testing project to get PID from started java Process This is based on web article http://www.golesny.de/p/code/javagetpid How to run mvn package java -cp target/get-pid-1.0-SNAPSHOT-jar-with-dependencies.jar cz.chalda.pid.Main