recognizing java processes  
Author Message
julian.navascues





PostPosted: 2007-7-13 23:41:00 Top

java-programmer, recognizing java processes How would you recognize a java process (as java process) in runtime
from outside the JVM? (win32)

is there a nicer way than monitorizing DLL loads in order to detect
the jvm.dll/javai.dll load?

 
Oliver Wong





PostPosted: 2007-7-14 1:14:00 Top

java-programmer >> recognizing java processes <email***@***.com> wrote in message
news:email***@***.com...
> How would you recognize a java process (as java process) in runtime
> from outside the JVM? (win32)
>
> is there a nicer way than monitorizing DLL loads in order to detect
> the jvm.dll/javai.dll load?

The name of the process is almost always "java.exe" or "javaw.exe".

- Oliver


 
David Gourley





PostPosted: 2007-7-14 4:42:00 Top

java-programmer >> recognizing java processes email***@***.com wrote:
> How would you recognize a java process (as java process) in runtime
> from outside the JVM? (win32)
>
> is there a nicer way than monitorizing DLL loads in order to detect
> the jvm.dll/javai.dll load?
>

Download jps tool? (certainly works with Java 1.5 on win32)

Dave