Build instructions for VisualVM 1.2.2. Check out source code with a SVN client using the following command.
svn checkout https://svn.java.net/svn/visualvm~svn/branches/release122

There are two suites:

  • visualvm: which defines the core tool, and
  • plugins: which contains the plugins available in the VisualVM Plugin Center.

The layout in SVN for VisualVM 1.2.2 release is:

  • release122
    • visualvm  <--- core tool suite
    • plugins    <--- for plugin center (jconsole, mbeans, glassfish)

To build the visualvm core tool you need the NetBeans 6.8 platform and profiler binaries available here. These binaries must be extracted into the release122/visualvm directory. You can use ant run or ant build-zip to build or run VisualVM.

To build the plugins suite, use ant build or ant run. This will automatically build the zip distribution of the visualvm core tool into release122/visualvm/dist/visualvm.zip and extract it into the release122/plugins/visualvm directory. After that the build of the plugins suite continues to build each of the individual plugins.