Download NetBeans!

20090730 Thursday July 30, 2009

How to Navigate to VisualVM Sources

The question of the day is from Jeroen Borgers, who wants to navigate (Ctrl-Click on class/method names) to the VisualVM sources while creating VisualVM plugins in NetBeans IDE. Not only can you do that, but you can also read Javadoc:

Below follows an explanation of how to set up NetBeans IDE for this purpose.

When you check out the VisualVM sources from dev.java.net, you will end up with the folder structure below. The folder that you see highlighted, named "visualvm", contains the VisualVM sources:

In Tools | NetBeans Platform, where you've registered VisualVM as the platform against which your VisualVM modules will be compiled, you need to register the folder above, in the "Sources" tab and also in the "Javadoc" tab:

That's all. Then the sources and Javadoc are accessible from the Java editor in NetBeans IDE.

Jul 30 2009, 08:51:38 AM PDT Permalink