idea 運行的時候objc[8715]: Class JavaLaunchHelper is implemented in both....

本文來源:你我學習網  https://www.niwoxuexi.com/blog/kotlin/article/232.html

在Mac上,升級IntelliJ Idea 2017.01後,運行的時候出現了一個紅色的警告:

objc[8715]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java (0x102c804c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x102d5c4e0). One of the two will be used. Which one is undefined.

解決方法:

在idea中,進行修改idea.properties

打開idea --> 工具欄Help --> Edit Custom Properties...

096d41f7f8-idea.png

添加一下內容

#custom IntelliJ IDEA properties
idea_rt
idea.no.launcher=true

重啓idea就可以了


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章