使用jconsole 监控eclipse中启动的java虚拟机进程

在eclipse启动以前配置下参数。 
点击“Run-》Run Configurations”选择你的项目main类,而后选择Arguments,在vm arguments中添加“-Dcom.sun.management.jmxremote”eclipse

相关文章
相关标签/搜索