用的JDK 1.8, 今天运行Junit test case的时候突然不能运行了,出现错误:
objc[10012]: Class JavaLaunchHelper is implemented in both /Library/Java/
JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/bin/java and /Library/Java
/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/libinstrument.
dylib. One of the two will be used. Which one is undefined.
我网上搜了下说是jdk的known issue,stackoverflow上说推荐一个新版本就fix issue
了(jdk1.8.0_65.jdk),我试了一下,还是有问题。请问哪个大牛也碰到过这个情况?
怎么解决? 谢谢啊