Skip to content

Instantly share code, notes, and snippets.

@FloPinguin
Created January 27, 2020 17:01
Show Gist options
  • Save FloPinguin/202901223629b92262debb84c88049f3 to your computer and use it in GitHub Desktop.
Save FloPinguin/202901223629b92262debb84c88049f3 to your computer and use it in GitHub Desktop.
Killing a specific java process on windows
start "MyProgram" "C:/Program Files/Java/jre1.8.0_201/bin/java.exe" -jar MyProgram.jar
taskkill /F /FI "WINDOWTITLE eq MyProgram" /T
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment