VisualVM is a visual tool integrating commandline JDK tools and lightweight profiling capabilities. See https://visualvm.github.io for details, downloads and documentation.
Use Apache Ant 1.9.9 or above and Oracle JDK 8 to build VisualVM from this repository.
First download or clone this repository into directory visualvm
. There are two project suites included:
- visualvm (
visualvm/visualvm
) - suite for the core VisualVM tool - plugins (
visualvm/plugins
) - suite for the VisualVM plugins available in Plugins Center
Then extract the NetBeans Platform 11.1 into directory visualvm/visualvm
(should create visualvm/visualvm/netbeans
).
To build VisualVM, use ant build-zip
command in the visualvm/visualvm
directory. To run VisualVM, use ant run
command in the visualvm/visualvm
directory.
To build or run the plugins suite, use ant build
or ant run
in the visualvm/plugins
directory. This will automatically build the zip distribution of the core VisualVM tool into visualvm/visualvm/dist/visualvm.zip
and extract it into the visualvm/plugins/visualvm
directory. After that the build of the plugins suite continues to build each of the individual plugins. Running the plugins suite means starting VisualVM with all the plugins installed.