您的位置:首頁技術文章
文章詳情頁

JavaLaunchHelper類在…libinstrument.dylib中都實現將使用兩者之一哪一個未定義

瀏覽:100日期: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
相關文章:
国产综合久久一区二区三区