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

Marcus Hirt hirt at openjdk.java.net
Wed Apr 7 19:19:12 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.browser/src/main/resources/org/openjdk/jmc/browser/views/messages.properties line 60:

> 58: # JVMBrowserView_NO_LOCAL_JVMS_WARN_CAUSE has newlines placed so that the rows doesn't get too long. It would be
> 59: # great if the translation also contains newlines so the rows get about the same length.
> 60: JVMBrowserView_NO_LOCAL_JVMS_WARN_CAUSE=Local JVMs will not be detected if the JDK Mission Control Client is run with a JRE instead of a JDK, if the JDK is <11, or if the hsperfdata_<user> folder in TMP is not writable. See the FAQ help section for more information.

Perhaps instead spell out the less than and expand to JDK version? Like so ", if the JDK version is less than 11, "

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

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


More information about the jmc-dev mailing list