Kill all java processes under windows 1.ps -ef | grep java 2.taskkill

created at 07-30-2021 views: 7
Administrator@Administrator MINGW64 ~/Desktop
$ ps -ef | grep java
Administ    4968       1 pty2     13:49:09 /f/Java/jdk1.8.0_281/bin/java
Administ    5988       1 pty1     13:37:40 /f/Java/jdk1.8.0_281/bin/java
Administ    3564       1 pty0     13:37:19 /f/Java/jdk1.8.0_281/bin/java
Administrator@Administrator MINGW64 ~/Desktop
$ taskkill -f -pid 3564
Success: The process with PID 3564 has been terminated.
created at:07-30-2021
edited at: 07-30-2021: