我的Mac pro IDEA2017.1版本報(bào)以下錯撮慨,雖然不影響使用俭识,但是比較蛋疼冠场。
objc[8838]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java (0x10e5b04c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10e7454e0). One of the two will be used. Which one is undefined.
解決方法:
添加:idea.no.launcher=true 到 idea.properties文件中谱姓。
怎樣進(jìn)這個文件:
- 在Finder 的應(yīng)用程序中找到IDEA的圖標(biāo)躯畴,右鍵茫藏,顯式包內(nèi)容误趴,contents→bin里面