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

Allow executable name to show up in JPS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8.0.0
    • None
    • Mission Control Client
    • None
    • JMC 8.0 Sprint 7 - Last Enh

      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.

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

              Created:
              Updated:
              Resolved: