Cannot start Eclipse Memory Analyzer (MAT)

Viewed 3398

I've downloaded MAT from this link and simply extract the zip file to use. Then, when I executed the MemoryAnalyzer.exe, I got this errror

enter image description here

My %JAVA_HOME% is already C:\Program Files\Java\jdk1.8.0_251.

Could you guys help me please?

1 Answers

If you set your JAVA_HOME correctly and it still doesn't work, you can try add below line to the MemoryAnalyzer.ini

-vm
C:\Program Files\Java\jdk1.8.0_251\bin

But remeber to add before -vmargs option.

You can also try to add jvm.dll path directly:

-vm
C:\Program Files\Java\jdk1.8.0_251\bin\server\jvm.dll

Also check this out: https://wiki.eclipse.org/Eclipse.ini#-vm_value:_Windows_Example

Related