I have installed jmc-8.2.1_osx-aarch64 in my mac OS. Java version used is 11.0.14. I have also installed eclipse in my machine. When I am trying to launch the JDK Mission Control app, its erroring out as , "The JVM shared library “/Library/Java/JavaVirtualMachines/jdk-11.0.14.jdk/Contents/Home/bin/../lib/server/libjvm.dylib” does not contain the JNI_CreateJavaVM symbol."
Please let me know how to resolve this issue.
There are several solutions described here.
In my case I got this error:
In case it helps, in my case the solution that worked was to edit
/Applications/JDK\ Mission\ Control.app/Contents/Eclipse/jmc.iniand add following line to it:change the path as necessary [1].
IMPORTANT: there needs to be a line break between
-vmand the path.Some more notes: In my case, I do NOT have Eclipse installed. There are two ways you can run JMC:
This solution applies in case of option 1. Not sure about option 2. What made this hard to debug is that double-clicking on JMC application did nothing. It did not even display an error. When I launched the program from terminal by running:
only then did I see an error popup saying: "The JVM shared library "/System/Library/Frameworks/JavaVM.framework" does not contain the JNI_CreateJavaVM symbol."
TIP: I ran into exact same error with Eclipse Memory Analyzer. The solution again was to edit an
.inifile -/Applications/MemoryAnalyzer.app/Contents/Eclipse/MemoryAnalyzer.inithis time but with same fix.