`

使用jconsole的前提条件

    博客分类:
  • JVM
阅读更多

为了快速调试,使用简单方式:

 

本地:

java -Dcom.sun.management.jmxremote -jar Notepad.jar

 

远程:

 

Disabling Security

To disable both password authentication and SSL (no security), set these system properties when you start the JVM:

com.sun.management.jmxremote.port=portNum
com.sun.management.jmxremote.authenticate=false
com.sun.management.jmxremote.ssl=false

也可以通过 jconsole pid方式打开




  


  
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics