Kill processes on Windows via Command Line

Since working with Java, sometimes my services crash and the IDE does not recognize it. To kill the remaining Java processes, I use:

wmic process where "commandline like '%%java%%'" delete

That’s it. Interestingly, it does not kill IntelliJ IDEA, only the services. I guess, IntelliJ uses a different JVM name.


Your email address will not be published. Required fields are marked *