I am running Mac OSX Snow Leopard.
I've always updated Java using the regular Software Update features of Mac OSX.
I've used the Java jvisualvm tool in the past with great success.
This morning I typed jvisualvm into the command line as I often do. I got the following error:
$ jvisualvm
Unable to locate an executable at "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/jvisualvm" (-1)
All of the other Java tools (java, javac, jps, etc.) work just fine.
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin indeed does not contain jvisualvm (all of a sudden).
/usr/libexec/java_home yields:
$ /usr/libexec/java_home
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
WTF?


