How to start / stop Java process in the Command Prompt?

711 views Asked by At

I have Java 1.8.0 running in Windows. How can i start/stop this process in the Command Prompt?

2

There are 2 answers

0
hemen On

not mine, check if it helps

taskkill /f /im jqs.exe
taskkill /f /im javaw.exe
taskkill /f /im java.exe
0
Qingfei Yuan On

Ctrl + C in the command.

If you need exit elegantly, you need program for it. You can refer to apache's library for more.