taskkill /im "java.exe" will kill all java processes in the list. I however, want to kill a specific one. The problem is to identify the right process as there are multiple
java.exe processes that run simultaneously and not related to each other.
Is there any way to kill a process by application name rather than by process name? I have the application name showing in the Applications tab in Task Manager and manually I can right click on that application and choose "Go To Process". It will highlight the relevant java process. Is there anyway to do it from command line?