Cmd:
Echo%TMP%
Echo%USERNAME%
Official Description and Answers:
Local applications cannot is monitored (Error Dialog on Startup)
Description:an error dialog saying that local applications cannot be monitored was shown immediately after VisualVM Startu P.
Resolution:This can happen on Windows systems if the username contains capitalized letters. Username isUserName
but the Jvmstat directory created by JDK is%tmp%\hsperfdata_username
%tmp%\hsperfdata_username directory and create new %TMP%\ Hsperfdata_username
directory.
i.e.: %tmp%\hsperfdata_username file deleted, re-establish%tmp%\hsperfdata_username file (username for specific user name, case-sensitive).
Username is the user name of the current computer with Echo%USERNAME% to view
Look at the disk at the same time
Right-click: Run as Administrator
The final result:
JVISUALVM Local Java program not detected