Mac 上idea啓動程序 “Class JavaLaunchHelper is implemented in both 。。。”錯誤解決

今天更新最新版本IntelliJ IDEA時遇到Class JavaLaunchHelper is implemented in both錯誤,大致是:
objc[99623]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/java (0x1015e54c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x102e5c4e0). One of the two will be used. Which one is undefined.

解決辦法
點擊IntelliJ IDEA上面菜單的”Help”下的“Edit Custom Properties”,在文件中加上 idea.no.launcher=true
這裏寫圖片描述
重啓再試

PS:若沒有idea.properties文件,則點擊“Edit Custom Properties”會提示創建一個,再在裏面加入idea.no.launcher=true

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