hai to all,
I need all your help,can anyone say me how to get the running application in a system through tasklist or through taskmanager in the java program.Please help me.
Printable View
hai to all,
I need all your help,can anyone say me how to get the running application in a system through tasklist or through taskmanager in the java program.Please help me.
For what purposes? What if the computer does not have task manager?
the requirement is so.I want to trace how long a particular application is running.the program is not going to be webbased,so we will make sure that the task manager is there.
You could run the appropriate command using Runtime.exec but better use a platform dependent language to do such tasks.
Java's most powerful feature is platform independence. There is no point in using it to do platform dependent tasks.
Have at it: JNI Specs