FAQ

I cannot find any JVMs on JVM Explorer. What is wrong?

How can I enable the BCI mode of CPU profiler on remote host?

I cannot find any JVMs on JVM Explorer. What is wrong?

At least one JVM (Eclipse itself) should be shown on JVM Explorer. If no JVM is shown, it is likely that Eclipse is not started with supported JDK. For example, Sun JRE might be used instead of Sun JDK 6 or OpenJDK 6.

  1. Check the value of system property java.home with Help > About Eclipse > Installation Details > Configuration. You may see that the supported JDK is not specified to java.home.
  2. Close Eclipse.
  3. To enforce using a desired JDK on Eclipse, specify the option -vm to the eclipse executable, or specify it in eclipse.ini. See the Workbench User Guide to learn how to specify that option.
  4. Start Eclipse.

Note: If failed to specify -vm option or if you don't want to change the eclipse launch settings, you may try specifying the JDK on preference page Window > Preferences > Java > Monitor > Tools > JDK Root Directory.

How can I enable the BCI mode of CPU profiler on remote host?

To enable BCI mode of CPU profiler on remote host:

  1. Find the agent file jvmmonitor-agent.jar at plug-ins instalation directory.
        <plug-ins instalation directory>/org.fusesource.ide.jvmmonitor.core/lib/jvmmonitor-agent.jar
  2. Copy the agent file to arbitrary directory on remote host.
  3. Start JVM on remote host with the following options.
        -javaagent:<path>/jvmmonitor-agent.jar

Note: When you upgrade the version of JVM Monitor, jvmmonitor-agent.jar has to be copied again.