I don’t know any other solution, apart from executing a specific Windows
command like Runtime.getRuntime().exec("taskkill /F /PID 827");
More Related Contents:
- Failed to load the JNI shared Library (JDK)
- How to bring a window to the front?
- How to stop java process gracefully?
- Windows shortcut (.lnk) parser in Java?
- How do I find where JDK is installed on my windows machine?
- How to update PATH variable permanently from Windows command line?
- How to do a true Java ping from Windows?
- Run Java application at Windows startup
- How to find and kill running Win-Processes from within Java?
- How to simulate a real mouse click using java?
- Could not find or load main class
- Java 7 default locale
- How can I set date and time formatting in Java that respects the user’s OS settings
- How can I add a context menu to the Windows Explorer for a Java application?
- “Hello world” Android app with as few files as possible, no IDE, and text editor only
- Default character encoding for java console output
- Validate a file name on Windows
- Simple Java program 100 times slower after plugging in USB hotspot
- Find out what application (window) is in focus in Java
- Reading Windows file summary properties (title, subject, author) in Java
- Knowing which java.exe process to kill on a windows machine [closed]
- Can’t get past 2542 Threads in Java on 4GB iMac OSX 10.6.3 Snow Leopard (32bit)
- Powershell: Capturing standard out and error with Process object
- Packaging Java apps for the Windows/Linux desktop
- How do you keep the machine awake?
- Find all drive letters in Java
- Windows shutdown hook on java application run from a bat script
- Executing cmd.exe commands from Java
- How do I access Windows Event Viewer log data from Java
- Convert static windows library to dll