Skip to main content

How can I find the exact version of a different Java process (on Windows)

No replies
Joined: 2005-03-05

I have a Java 5 process running on the same Windows machine. I need to be able to find out what exact version of java this process is running.

I have found a tool called JPS ( that can find out command-line arguments of a process. Does anyone know how JPS works? Presumably whatever method JPS uses to get the command line args could also be used to get the java version.

On UNIX I can just use ps to get the complete path to the command line, so I have no need of a special tool.