eclipse memory analyzer tool not working mac m1 java 8

622 views Asked by At

Eclipse memory analyser tool doesn't work on my mac m1 ventura with oracle java 8 installed. Getting the below error while opening the app.

enter image description here

Jvm shared library "/Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Contents/Home/bin/../jre/lib/server/libjvm.dylib" does not contain the JNI_CreateJavaVM symbol.

Tried multiple questions asked on stackoverflow earlier but nothing seems to work anymore. I have tried:

  1. Downloading mat from browser as well as homebrew
  2. added -vm/Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Contents/Home/bin/java
    in Info.plist present at /Application/mat -> show package contents -> Info.plist
  3. JAVA_HOME updated /Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Contents/Home/bin/java from /Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Contents/Home

from articles like:
1.Mac OS, JDK1.7 (and 1.8) does not contain the JNI_CreateJavaVM symbol

2.Failed to locate method JNI_GetCreatedJavaVMs in the libjvm.dylib (Mac OS)

Please help me or at least suggest any good alternative to this app.

0

There are 0 answers