Geertjan's Blog

  • July 30, 2009

How to Navigate to VisualVM Sources

Geertjan Wielenga
Product Manager
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.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.