RFR: 7194 : No local JVMs found message could be more helpful

Marcus Hirt hirt at openjdk.java.net
Wed Apr 7 19:22:14 UTC 2021


On Fri, 19 Mar 2021 17:31:04 GMT, Michael S. <github.com+29914148+docwarems at openjdk.org> wrote:

> The message refers to the FAQ to question 
> "Q: I cannot see any locally running JVMs in the JVM browser!" 
> Suggestion for new answer
> A3: Are you running a JDK <11? You must specify a JDK >=11 either via PATH of by adding "-vm" parameter in jmc.ini (before -vmargs parameter; value is path to JDK bin folder)

application/org.openjdk.jmc.docs/html/GUID-3EC7E6C3-6A64-4659-B99E-CA675A9F6E0A.htm line 82:

> 80: <li><p>Make sure that there is a directory named <code>hsperfdata_<span class="codeinlineitalic">username</span></code> in the system's <code>tmp</code> directory, that it is writable by the user running JMC, and that the file system supports access control lists (ACLs).</p>
> 81: </li>
> 82: <li><p>Make sure you are you running a JDK >= 11. You can set the JDK bin directory either by <tt>PATH</tt> environment variable, or by adding <tt>-vm</tt> parameter to <tt>jmc.ini</tt> file (must be inserted before <tt>-vmargs</tt> section).</p>

How about making explicit that it is Mission Control that should be running on the proposed version? "Make sure you are running Mission Control on "

-------------

PR: https://git.openjdk.java.net/jmc/pull/232


More information about the jmc-dev mailing list