【发布时间】:2015-02-22 19:19:18
【问题描述】:
我正在尝试在 mac 上使用 Java VisualVM 分析器分析一个 java 程序。
部分消息在过去here被举报过。
我得到的异常如下:
objc[20398]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
Profiler Agent: JNI OnLoad Initializing...
Profiler Agent: JNI OnLoad Initialized successfully
Profiler Agent: Waiting for connection on port 5140 (Protocol version: 14)
Profiler Agent Error: Exception when trying to establish connection with client:
java.net.BindException: Address already in use
我不完全理解错误。有没有可能的解决方案?
谢谢。
【问题讨论】:
标签: java exception profiler visualvm jvisualvm