"process ID" implies a platform-specific thing. Do all platforms have
"process IDs"? Maybe, maybe not. And even if they do, are the IDs always
of integer type? Maybe, maybe not. Anyway, being a platform-specific thing, and knowing that java is
designed for platform-independence, the answer must be "no" (not in pure
Java, anyway).
Have a look at the following URL :
http://blog.igorminar.com/2007/03/how-java-application-can-discover-its.html
To send a CTRL+C signal, you may use the ShutdownHook from the sun packages, however I wouldn't recommend it in a production application. Use caution when using the classes from sun package because it contains undocumented support classes that may change between releases of Java. The URL's below should be of some help.
http://www.esus.com/docs/GetQuestionPage.jsp?uid=392
http://www.ibm.com/developerworks/java/library/i-signalhandling/
https://lists.xcf.berkeley.edu/lists/advanced-java/2000-August/011724.html
http://forums.sun.com/thread.jspa?threadID=5270353
Hope this helps.