今天更新最新版本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