JConsole, which is shipped with the standard JDK, is quite a handy application for Java developers. Unfortunately, JConsole is unable to connect to Java application launched from within Eclipse with Linux. However, there is a simple VM argument which fixes this issue.
1
| -Dcom.sun.management.jmxremote |
-Dcom.sun.management.jmxremote
|