Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Stopping the Process Forcefully......  RSS feed

Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kindly let me know, how to get the ProcessId of the Currently running Process in java. I want to get the processId and need to stop that particular process. I am trying this by using <code>proc.destroy();</code> method in my application. but the problem is not solved. The process is running yet. Can any one let me know how to forcily destory or stop the currently running process. If possible kindly give me the code for this....
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!