objc[9000]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0
objc[9000]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java (0x1074a44c0) and /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10751e4e0). One of the two will be used. Which one is undefined.
想换jdk1.7模拟测试hashmap扩容时候的死循环,发现会有警告错误信息如上。
解决方法:要解决这个问题需要在IDEA的“Help”下点击的“Edit Custom Properties …”,打开“idea.properties”文件,然后输入下面的内容:
idea.no.launcher=true
设置完重启ide即可
还没有评论,来说两句吧...