I'm trying to launch Cassandra and I'm running into an issue with JavaLaunchHelper being located in two places. I'm running Java 8. Here's the exact error:
objc[413]: Class JavaLaunchHelper is implemented in both
/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/bin/java and
/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/libinstrument.dylib.
One of the two will be used. Which one is undefined.
Found a similar question for Java 7:
Class JavaLaunchHelper is implemented in both. One of the two will be used. Which one is undefined
What's the best way to go about solving this?
This is a bug in the JDK and is still not fixed (as of 8u25). See more info here.
Shouldn't be a problem, just an annoying message. But Cassandra hasn't been verified against java 8 yet, so you may see some strangeness.
You must go to Preferences/Build, Execution, Deployment/Debugger and disable the option: "Force Classic VM for JDK 1.3.x and earlier" This works for me
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With