how to kill a java process with pid code example Example: kill a process with pid kill -9 PID # kill -9 94228