When running a scala or java project I get this message, even though the project still compiles and runs.
objc[1069]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/java (0x1009ba4c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x101b064e0). One of the two will be used. Which one is undefined
- Open > Project Structure
- Edit > Remove the current JDK
- click the
+
button in the top left. then clickJDK
- Then Select your JDK. In my case it was
/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home