Contents
Find the process id by jps command & and kill them by taskkill command. Note that ” -f ” is required with taskkill or it may just send a termination signal not actually terminating it. Did you try to kill the java.exe processes in the taskmanager? It should stop then.
How do I stop a jar execution?
Stop a JAR Distribution
- In the console where you ran the command to start the service, press Ctrl + C on your keyboard.
- Run the following command in a separate console window: java -jar youtrack-
.jar stop.
How do I know if jar is running on Linux?
You could use jps with the -l options which will return the . jar file used with full path. -l Displays the full package name for the application’s main class or the full path name to the application’s JAR file.