Wednesday, October 11, 2017

Show MBeans tab in Java VisualVM

To show the "MBeans" tab in Java VisualVM, check your Java version first as follows:

$ java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
$

Click as follows: Tools -> Plugins -> Settings

Use the following URL for "1.8.0_101": https://visualvm.github.io/pluginscenters.html

In the "Available Plugins" tab, install the "VisualVM-MBeans" plugin.

Now you can see the "MBeans" tab after reconnecting.

If you double-click a numeric read-only value, you can see a chart having 5 seconds resolution.

References:
https://stackoverflow.com/questions/38905119/java-visualvm-mbeans-plugin
https://visualvm.github.io/archive/uc/8u40/updates.xml.gz