Java JavaLaunchHelper exception during test execution

I often get the following error when trying to run tests:

objc[4168]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.

Cleaning up a project always fixes this problem, but it is annoying, which needs to be done often. I guess cache behavior is weird, but I'm not quite sure. Can someone point me in the right direction?

+4
source share

Source: https://habr.com/ru/post/1617339/


All Articles