Last checked: 2026-11-29
When a Java application is slow, leaks memory or hangs, the JDK’s command-line tools can show why, but each has its own syntax and output. VisualVM brings the same information into one window, with graphs that update while the application runs.
What it does well
- Finds running applications. Lists the Java processes on your Mac automatically and connects to remote ones through JMX or jstatd.
- Live monitoring. Graphs CPU use, garbage-collector activity, heap and metaspace, loaded classes and threads.
- Profiling. A sampling profiler and an instrumenting profiler show which methods take the time and which objects take the memory.
- Dumps. Takes thread dumps and heap dumps and opens
.hproffiles, which helps to find deadlocks and memory leaks.
Who it is for
Java developers and administrators who need to see what a JVM is doing, during development or on a running server.
Good to know
VisualVM needs a full JDK and will not start without one. Its window is a plain Java desktop interface, not a Mac-style one. It is not a debugger or an editor: to step through code, use an IDE such as IntelliJ IDEA. For Android apps, the profiler in Android Studio is the right tool.
How to install
- Install a JDK first if your Mac does not have one; VisualVM needs it to run.
- Open the downloaded disk image and drag VisualVM to Applications.
- The first time you open it, macOS asks you to confirm an app downloaded from the internet; click Open.
FAQ
Is VisualVM free?
Yes. VisualVM is free, open-source software under the GPL version 2 with the Classpath Exception, and it has no paid edition.
Does VisualVM need Java installed?
Yes. VisualVM is itself a Java application and needs a JDK, release 8 or later, on your Mac; a JRE alone is not enough. Oracle JDK, OpenJDK builds and GraalVM are supported.
Is VisualVM still included in the JDK?
No. It used to ship with Oracle JDK 6 to 8 and with older GraalVM releases, but today it is distributed only as a standalone download from the project's site.
Is it safe?
Apps downloaded outside the App Store make macOS ask for confirmation on first launch. If macOS blocks the app, see our security-warning guide.
Does it run on your Mac?
No reports yet. Tried it? Be the first to say how it went.
| macOS | 27 | 26 Tahoe | 15 Sequoia | 14 Sonoma | 13 Ventura | 12 Monterey | ≤11 |
|---|---|---|---|---|---|---|---|
| Apple Silicon | |||||||
| Intel |
Not sure? Apple menu → About This Mac → "Chip" (M1–M5) or "Processor" (Intel).
Installation & Troubleshooting
How do I disable SIP and grant Terminal Full Disk Access?
System Integrity Protection shields core macOS files. Leave it on unless a developer's own instructions call for changing it; Terminal needs Full Disk Access to run some install scripts.
How do I open an app that Gatekeeper blocks?
Gatekeeper and quarantine trigger "damaged" or "unidentified developer" warnings. Allow the app with Open Anyway in System Settings → Privacy & Security, or clear the quarantine flag with xattr.
Why do I see security warnings when opening an app?
"Unidentified developer" and "cannot verify" warnings appear for apps Apple has not notarized. After the first blocked launch, click Open Anyway in System Settings → Privacy & Security.
What if the app is damaged or the disk image is corrupted?
"App is damaged and can't be opened" comes from quarantine flags; clear them with xattr -cr on the app. A corrupted DMG usually means an interrupted download.
What is Rosetta 2 and how do I install it?
Rosetta 2 lets Apple Silicon Macs run Intel apps. Install it with softwareupdate --install-rosetta in Terminal.
Why can't I install this app on an Intel Mac?
Some releases are Apple-Silicon-only and will not install on Intel due to architecture mismatch. Use a universal build or an Intel-matched release.
How to fix Adobe app installation errors?
Most Adobe install failures on Apple Silicon come from a missing Rosetta 2 or a stuck Creative Cloud helper. Install Rosetta, quit CCXProcess in Activity Monitor and run the installer again.
What to use instead of Launchpad on macOS 26?
macOS 26 replaced Launchpad with the Apps view in Spotlight. Use Spotlight, the Apps view or a third-party launcher to find and open apps.