The Java Virtual Machine Process Status Tool (jps) lists the instrumented HotSpot Java Virtual Machines (JVMs) on the target system. The package java.jvmstat offers the same capabilities. My problem occurs on my windows machine. Eclipse is inside the C:\Program Files\... directory. When using jps, not the full path is shown, instead it is truncated on the first space character:
jps -l
3623 sun.tools.jps.Jps
3579 C:\Program
The same happens using the java.jvmstat package. Do I use it in a wrong way or is this an ordinary bug?
Have you try
jps -m, for more accurate, is application directory is the one you’re looking for?