JPS Tool in Java 6 update 1
Hi All,
Is there any specific issue with JPS Tool in Java 6 update 1? I just installed Java 6 the other day and I tried to run jps to get specific pid to monitor however it's showing nothing.
The last one that I use which worked is Java 5 Update 9. I'm not really sure whether this is problem with JDK , or my computer configuration.
[355 byte] By [
ot6a] at [2007-11-26 23:49:23]

# 1
I had the same problem with the initial 6.0 release and it doesn't work with the update 1 either.
This is pretty annoying problem since the jps tool doesn't show any errors, it just refuses to
display any process ids. I have similar problem with the jconsole tool. The tool starts just fine
but you won't be able to see any local processes in the list. It seems that the jvm / these tools
have problems accessing the process list.
My setup is:
HP xw4300 Workstation
Intel Pentium 4 3.4 GHz
1 GB RAM
Windows XP Professional
# 2
May be vm process do not have access to tmp directory.
Check access permission to tmp directory.
System.getProperty(java.io.tmpdir)returns the tmp dir
used by java. Run this code on the system and check
if you or the running vm have permission to access
to that directory.