您的位置:首页技术文章
文章详情页

JavaLaunchHelper类在…libinstrument.dylib中都实现将使用两者之一哪一个未定义

浏览:106日期:2024-05-08 18:43:54
(adsbygoogle = window.adsbygoogle || []).push({}); 如何解决JavaLaunchHelper类在…libinstrument.dylib中都实现将使用两者之一哪一个未定义?

Jet️ 对于JetBrains IntelliJ IDEA:请转到Help -> Edit Custom Properties...。如果要求你创建文件,请创建该文件。要禁用错误消息,请将以下内容粘贴到你创建的文件中:

idea_rtidea.no.launcher=true

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

我正在Mac(使用MacOs 10.14.6)上运行Java开发人员版本的Eclipse IDE:Photon版本(4.8.0)Build ID:20180619-1200。我在/eclipse/configuration/config.ini中添加了“ idea.no.launcher = true”行,这为我解决了这个问题。

解决方法

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

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.

有谁知道为什么打印此消息以及如何解决它?

标签: java
相关文章: