Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-6947

Allow executable name to show up in JPS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0.0
    • Component/s: Mission Control Client
    • Labels:
      None
    • Subcomponent:
    • Sprint:
      JMC 8.0 Sprint 7 - Last Enh

      Description

      When executing jps to view running Java applications, the displayed name comes from a sun.java.command property. This is usually the name of the Main-Class when executing it with java directly, but Eclipse starts the JVM by using the native calls which bypasses this setting.

      By adding a property definition sun.java.command=JMC then the application will show up appropriately in JPS.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hirt Marcus Hirt
              Reporter:
              hirt Marcus Hirt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: