Local Applications Cannot Be Detected (Error Dialog On Startup) Description: An error dialog saying that local applications cannot be detected is shown immediately after VisualVM startup.Resolution: This can happen on Windows systems, it's a known problem related to the jps JDK tool used by VisualVM to detect running Java applications. There are two main root causes: broken access rights to temporary directory on a NTFS disk - see this thread for details and fix or having temporary directory on a FAT disk - see this bug detail for details and fix.是不是上面的这个问题.网上找的答案,不知道有没用:原因: 1. Java程序缺少读写Windows的临时目录的权限 2. Windows的临时目录是放在非NTFS分区(确切地说,是不支持ACL的分区) 解决办法: 1. 重新授权 2. 运行需要监控的Java程序时加上参数-XX:+PerfBypassFileSystemCheck 运行jvmstat工具时也加上参数-XX:+PerfBypassFileSystemCheck,或设置环境变量VMARGS为-XX:+PerfBypassFileSystemCheck
Description: An error dialog saying that local applications cannot be detected is shown immediately after VisualVM startup.Resolution: This can happen on Windows systems, it's a known problem related to the jps JDK tool used by VisualVM to detect running Java applications. There are two main root causes: broken access rights to temporary directory on a NTFS disk - see this thread for details and fix or having temporary directory on a FAT disk - see this bug detail for details and fix.是不是上面的这个问题.网上找的答案,不知道有没用:原因: 1. Java程序缺少读写Windows的临时目录的权限
2. Windows的临时目录是放在非NTFS分区(确切地说,是不支持ACL的分区) 解决办法: 1. 重新授权
2. 运行需要监控的Java程序时加上参数-XX:+PerfBypassFileSystemCheck
运行jvmstat工具时也加上参数-XX:+PerfBypassFileSystemCheck,或设置环境变量VMARGS为-XX:+PerfBypassFileSystemCheck
解决办法: 1. 重新授权
2. 运行需要监控的Java程序时加上参数-XX:+PerfBypassFileSystemCheck
运行jvmstat工具时也加上参数-XX:+PerfBypassFileSystemCheck,或设置环境变量VMARGS为-XX:+PerfBypassFileSystemCheck
上面的解决方法具体是什么样?
是不是应该是JVM?看大家都没头绪,乱猜测一下