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