objc[46679]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1...

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

解答:


objc[46679]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1..._第1张图片
image.png

解决方案:
点击IJ最上面菜单的Help -> Edit Custom Properties,没有这个properties文件的话,IJ会提示创建,然后在里面加上
···
idea.no.launcher=true
···

你可能感兴趣的:(objc[46679]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1...)