VisualVM 分析器错误:“JavaLaunchHelper 类在 ..bin/java 和 ..jre/lib 中实现"; [英] VisualVM profiler error: "Class JavaLaunchHelper is implemented in both ..bin/java and ..jre/lib"

查看:31
本文介绍了VisualVM 分析器错误:“JavaLaunchHelper 类在 ..bin/java 和 ..jre/lib 中实现";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行 VisualVM 分析器时,它会在正在运行的程序的控制台中显示此错误:

When running the VisualVM profiler, it gives this error 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 it mean and how do I fix it? The profiler does still give a result but I want to make sure everything working correctly as it's hard to use common sense to know if the result given is right.

推荐答案

这是 JDK 中的问题,而不是 VisualVM 中的问题.此问题没有负面影响,因为该类 JavaLaunchHelper 的两个副本是相同的(从完全相同的源编译).这纯粹是一个表面问题.

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

这篇关于VisualVM 分析器错误:“JavaLaunchHelper 类在 ..bin/java 和 ..jre/lib 中实现";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆