VisualVM Profiler Error: "JavaLaunchHelper is implemented in both..bin / java and..jre / lib"

When starting the VisualVM profiler, this error occurs in the console of the program being run:

objc[1145]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
Profiler Agent: Waiting for connection on port 5140 (Protocol version: 15)
Profiler Agent: Established connection with the tool
Profiler Agent: Local accelerated session

      

What does this mean and how can I fix it? The profiler is still giving a result, but I want to make sure everything is working correctly as it is difficult to use common sense to know if it did the right thing.

+3


source to share


1 answer


This is a problem in the JDK, not VisualVM. There is no negative impact from this problem as both copies of this JavaLaunchHelper class are identical (compiled from the same source). This is a purely cosmetic issue.



+1


source







All Articles