JavaLaunchHelper 类在... libinstrument.dylib 中实现.将使用两者之一.哪个是未定义的 [英] Class JavaLaunchHelper is implemented in both ... libinstrument.dylib. One of the two will be used. Which one is undefined

查看:22
本文介绍了JavaLaunchHelper 类在... libinstrument.dylib 中实现.将使用两者之一.哪个是未定义的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 MacOS X 上升级到最新的 Java 7u40,并在使用 Eclipse 启动我的应用程序时开始在控制台上收到以下消息.该应用程序运行良好,但我想找出问题的原因,并希望对其进行修复.

I upgraded to the latest Java 7u40 on MacOS X and started getting the following message on the console when launching my application using Eclipse. The app works fine but I would like to find out the cause of the problem and hopefully a fix for it.

objc[10012]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.

有谁知道为什么会打印这条消息以及如何修复它?

Does anyone know why this message is printed and how to fix it?

推荐答案

⚠️ 对于 JetBrains IntelliJ IDEA:转到 Help ->编辑自定义属性....如果它要求您创建文件,请创建该文件.要禁用错误消息,请将以下内容粘贴到您创建的文件中:

⚠️ For JetBrains IntelliJ IDEA: Go to Help -> Edit Custom Properties.... Create the file if it asks you to create it. To disable the error message paste the following to the file you created:

idea_rt
idea.no.launcher=true

这将在 IntelliJ 重新启动时生效.

This will take effect on the restart of the IntelliJ.

这篇关于JavaLaunchHelper 类在... libinstrument.dylib 中实现.将使用两者之一.哪个是未定义的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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