Có thể sử dụng javaw, tham khảo:
1. https://stackoverflow.com/questions/2643901/how-can-we-stop-a-running-java-process-through-windows-cmd
2. https://stackoverflow.com/questions/8194713/what-is-the-difference-between-java-javaw-and-javaws
3. https://stackoverflow.com/questions/54686/how-to-get-a-list-of-current-open-windows-process-with-java