简体   繁体   中英

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

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

not mine, check if it helps

taskkill /f /im jqs.exe
taskkill /f /im javaw.exe
taskkill /f /im java.exe

Ctrl + C in the command.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM