D
dw
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 (http://java.sun.com/j2se/1.5.0/docs/
tooldocs/share/jps.html) 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.
Thanks,
D
be able to find out what exact version of java this process is
running.
I have found a tool called JPS (http://java.sun.com/j2se/1.5.0/docs/
tooldocs/share/jps.html) 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.
Thanks,
D