Java Process is not killing using wmic

1

0

I need to kill java process from a batch file I am using command

Wmic Path win32_process Where "CommandLine Like '%MyApp.jar%'" Call Terminate

I got the output at cmd "No Instance (s) Available"

Ashish

Posted 2017-12-22T11:44:36.273

Reputation: 11

Question was closed 2017-12-22T21:48:33.567

yes i have used taskkill with windowtitle but is some time not kills the process and double instanse of apllication created – Ashish – 2017-12-22T12:12:01.490

can i get process ids of a running jar?? – Ashish – 2017-12-22T12:12:50.000

i am doing complete process from batch file – Ashish – 2017-12-23T12:57:51.933

No answers