How to distinguish java processes in Windows NT ?
I have several Java applications running on my machine.
When I use Windows NT's Task Manager to see the processes, I can see all my Java processes.
The problem is that they all have the same name (javaw.exe).
I don't know how I could have a more precise viewing of the processes running on my PC, so that I could identify the javaw.exe process which corresponds to a given running Java program.
Is there a way, from the Java program, to rename the process ?
Is there, in Windows NT, a better way of looking at the running processes, so that I could see the command-line parameters ?
[621 byte] By [
ppraviera] at [2007-9-27 7:42:24]

Under Unix/Linux's notorious command-line environment you say the command "ps" with the switch "-f" and you see the arguments.
bash-2.03$ ps
PID TTYTIME CMD
5004 pts/50:00 ps
5000 pts/50:00 bash
bash-2.03$ ps -f
UIDPID PPID CSTIME TTYTIME CMD
ijbalazs 5000 4997 0 10:51:18 pts/50:00 -bash
ijbalazs 5076 5000 0 10:54:01 pts/50:00 ps -f
bash-2.03$
NT is praised to be soo much user-firendly with its GUI! Now we see an example for the phenomenon: if you need something which is not directly supported by the user-friendly predefined GUI, you have a problem.
Anyway, you can select which columns will be shown, and maybe some of them gives a clue (the number of the threads or some other resource usage).
<REMARK>
I must admit to be a command-line fan.
</REMARK>
BIJa at 2007-7-8 11:53:17 >

Yes, unfortunately I have to solve this problem on NT. I wonder if there is not a hidden command-line utility to see the list of processes in a more detailed way, a bit like ps does.Even a little GUI utility would help me, if at least it existed.
Brilliant finding !
This PRCview program is a gem !
It shows everything related to each running process, allowing me to distinguish between each javaw.exe processe (knowing the environment variables, the command-line parameters among many things).
I warmnly recommends this program to all the NT users who face the same problem than me.