How to get Windows running application list using Java?I got to get the processlist.
You can run some command line util from Java for collecting processes information. For example:
Process process = Runtime.getRuntime().exec("qprocess");
BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream()));
Then you just read its output and parse it. qprocess
is a standard Windows XP utility. In other versions of Windows you probably need some other utility.