VisualVM 检测不到本地JAVA程序
2012-09-14 16:28
465 查看
官方描述及解答:
Local Applications Cannot Be Monitored (Error Dialog On Startup)
Description: An
error dialog saying that local applications cannot be monitored is shown immediately after VisualVM startup.
Resolution: This can happen
on Windows systems if the username contains capitalized letters. In this case, username is
the jvmstat directory created by JDK is
To workaround the problem, exit all Java applications, delete the
and create new
即:把%TMP%\hsperfdata_username文件删除,重新建立%TMP%\hsperfdata_UserName文件(username为具体的用户名,区分大小写)。
%TMP%:%TMP%为用户环境变量,在cmd下echo %TMP%可以查看具体路径,或者直接在地址栏输入%TMP%直接进入文件目录。
username:cmd下echo %USERNAME%即可查看用户名。
Local Applications Cannot Be Monitored (Error Dialog On Startup)
Description: An
error dialog saying that local applications cannot be monitored is shown immediately after VisualVM startup.
Resolution: This can happen
on Windows systems if the username contains capitalized letters. In this case, username is
UserNamebut
the jvmstat directory created by JDK is
%TMP%\hsperfdata_username.
To workaround the problem, exit all Java applications, delete the
%TMP%\hsperfdata_usernamedirectory
and create new
%TMP%\hsperfdata_UserNamedirectory.
即:把%TMP%\hsperfdata_username文件删除,重新建立%TMP%\hsperfdata_UserName文件(username为具体的用户名,区分大小写)。
%TMP%:%TMP%为用户环境变量,在cmd下echo %TMP%可以查看具体路径,或者直接在地址栏输入%TMP%直接进入文件目录。
username:cmd下echo %USERNAME%即可查看用户名。
相关文章推荐
- VisualVM 检测不到本地JAVA程序
- Java VisualVM无法检测到本地java程序 的 解决办法
- Java VisualVM无法检测到本地java程序的解决办法
- JVM--VisualVM 无法检测到本地java应用程序
- Windows/Linux环境下使用Java VisualVM进行Java程序性能分析与监视
- Java程序性能分析工具Java VisualVM(Visual GC)—程序员必备利器
- JavaVisualVM监控远端JAVA程序
- 将本地Java程序发布到Linux服务器上
- java小程序检测web的并发数---HttpClient和util包的concurrent
- 解决 GTK+/GNOME 3 环境下 Java Swing 程序使用本地 GTK+ 主题时菜单无边框 bug 的方法
- java调用本地程序,两个命令systeminfo,notepad
- Java程序性能分析工具Java VisualVM(Visual GC)―程序员必备利器
- Java VisualVM 监控远程Java程序运行情况
- 使用Java编写一个简易的本地文件的检索相关字的程序
- java程序在开发工具上运行正常,打包之后本地运行报错Attempt to refer to a unregistered pool by its alias '**'
- 利用jdk自带工具检测java运行程序死锁现象
- 从本地上传整个文件夹到hdfs的java程序
- 程序员必备利器——Java程序性能分析工具Java VisualVM(Visual GC)
- Java调用系统默认程序打开本地文件
- [导入]java中如何执行本地程序并捕获out和err输出