Search code examples
eclipsejmxjconsole

Automatic start of jconsole from eclipse


I wondered if there is a plugin or someone has a script to start jconsole automatically when I run or debug an application from eclipse. Maybe adding the classpath too. I googled but didnt find anything. In most cases this is a sign that it doesnt work or its to easy to ask :D


Solution

  • There is a plugin for VisualVM (http://visualvm.java.net/eclipse-launcher.html) which does exactly this.

    Given that VisualVM is a superset of the jConsole and it also supports jConsole plugins natively you can safely use VisualVM instead of jConsole.