Class JavaLaunchHelper is implemented in both ... libinstrument.dylib. One of the two will be used. Which one is undefined(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 中都实现了.将使用两者之一.哪个是未定义的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:JavaLaunchHelper 类在... libinstrument.dylib 中都实现了.将使用两者之一.哪个是未定义的


基础教程推荐
- FirebaseListAdapter 不推送聊天应用程序的单个项目 - Firebase-Ui 3.1 2022-01-01
- 减少 JVM 暂停时间 >1 秒使用 UseConcMarkSweepGC 2022-01-01
- Java:带有char数组的println给出乱码 2022-01-01
- 无法使用修饰符“public final"访问 java.util.Ha 2022-01-01
- 降序排序:Java Map 2022-01-01
- 设置 bean 时出现 Nullpointerexception 2022-01-01
- 在 Libgdx 中处理屏幕的正确方法 2022-01-01
- Java Keytool 导入证书后出错,"keytool error: java.io.FileNotFoundException &拒绝访问" 2022-01-01
- “未找到匹配项"使用 matcher 的 group 方法时 2022-01-01
- 如何使用 Java 创建 X509 证书? 2022-01-01