Mr.D
Mr.D

Reputation: 99

How do I install jhat?

I have downloaded Java JDK 17 and I need to analyse a dump I did with the jmap command.

I have searched about how to do it and jhat is apparently an already installed command that lets you analyse the dumps from jmap but when I run the jhat command it says:

'jhat' is not recognized as an internal or external command, operable program or batch file.

So I searched how to download it but I had no success and I tried to download it on my own with Chocolatey but with no results so does anyone have an idea about what to do to get jhat please?

Upvotes: 2

Views: 3279

Answers (1)

Woodchuck
Woodchuck

Reputation: 4454

You could try VisualVM for profiling or Eclipse Memory Analyzer for heap analysis. There may be some similar functionality within those tools, depending on your specific needs.

Upvotes: 2

Related Questions