I want to kill the particular Java process in Windows, like in Linux (ps -aux to get processid and then kill processid to kill the process).
I want to kill the particular Java process in Windows, like in Linux (
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use the
jpsutility that is included in the JDK to find the process id of a Java process. The output will show you the name of the executable JAR file or the name of the main class.Then use the Windows task manager to terminate the process. If you want to do it on the command line, use