Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install VisualVM plugin VisualGC - When Plugin Network Install blocked

Tags:

visualvm

I'm using VisualVM to monitor a number of JAVA applications, I would like to install some of the plugins that are available within this app.. Unfortunately the 'Available Plugins' option does not work for myself, as I believe I may be blocked by the corporate proxy.

Any ideas how and where I can download an offline plugin, so that I can see this in 'VisualVM'.

Thanks, Shaun.

like image 206
Boardman411 Avatar asked May 06 '14 14:05

Boardman411


People also ask

Is VisualVM included in JDK?

Various optional tools, including Java VisualVM, are provided with the Java Development Kit (JDK) for retrieving different types of data about running JVM software instances.

How do I start VisualVM in Java?

You can access VisualVM from the bin directory of the JDK: On a Windows system, start VisualVM by double-clicking jvisualvm.exe. You can also select VisualVM from the Start menu (if Windchill shortcuts are installed).

How add JMX connection to VisualVM?

In Java VisualVM's Applications window, right click on the Local machine and select 'Add JMX Connection'. The Add JMX Connection dialog box opens. The host name localhost is already filled in. You only need to add the port number on which the application is exposed for monitoring and management.


2 Answers

Plugins for offline VisualVM installations can be manually downloaded from the Plugins Centers page. Download the plugins as .nbm files. To install them in VisualVM do the following:

  1. In VisualVM main menu choose Tools | Plugins, Plugins dialog is opened
  2. Switch to Downloaded tab, click the Add Plugins... button, select downloaded plugin .nbm file(s) and click the Open button
  3. Click the Install button, review and accept plugin license and wait for the plugin to be installed
like image 121
Tomas Hurka Avatar answered Nov 09 '22 06:11

Tomas Hurka


Go to Tools > Plugins > Settings. Edit URL to https://visualvm.github.io/uc/release139/updates.xml.gz. Now plugins will be available & you can install online.

like image 34
Valsaraj Viswanathan Avatar answered Nov 09 '22 05:11

Valsaraj Viswanathan