jamm icon indicating copy to clipboard operation
jamm copied to clipboard

Error occurred during initialization of VM agent library failed to init: instrument

Open mhnamaki opened this issue 8 years ago • 1 comments

Hi, I'm running this code over Mac OSX using eclipse and Java 8. I've set the VM parameters like the following: -javaagent:/Users/***/.m2/repository/com/github/jbellis/jamm/0.3.1/jamm-0.3.1.jar

However, I'm getting the following error. It seems that there is a bug in JDK. Do you have any suggestion for me to make this code works?

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

mhnamaki avatar Sep 26 '16 19:09 mhnamaki

@mhnamaki Did you find any solution to this?

skat00sh avatar Jul 12 '17 14:07 skat00sh

This was an environment issue. Closing this issue as there is nothing that we can do.

blerer avatar May 23 '23 09:05 blerer