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).
ps -aux
kill processid
This will work even when there are multiple instance of jar is running
wmic Path win32_process Where "CommandLine Like '%yourname.jar%'" Call Terminate