RFR: 6947: Allow executable name to show up in JPS
Marcus Hirt
hirt at openjdk.java.net
Wed Oct 28 00:35:20 UTC 2020
On Wed, 21 Oct 2020 10:28:05 GMT, Alex Blewitt <github.com+76791+alblue at openjdk.org> wrote:
> 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.
Hi @alblue! Simply follow [the instructions](https://www.oracle.com/technetwork/community/oca-486395.html) in the bot message above to get the OCA signed. :)
-------------
PR: https://git.openjdk.java.net/jmc/pull/137
More information about the jmc-dev
mailing list