Java VisualVM hangs connecting to locally process launched from eclipse

前端 未结 7 1379
耶瑟儿~
耶瑟儿~ 2020-12-08 18:59

I\'m trying to connect jvisualvm installed with jdk1.7.0_04 to a locally running java process. When I do this, jvisualvm shows a progress bar in the bottom left saying its

7条回答
  •  感动是毒
    2020-12-08 19:26

    Try to add the following VM arguments to your "Run Configurations":

    -Djava.rmi.server.hostname=localhost
    

提交回复
热议问题