Change java process description in windows task manager [duplicate]

对着背影说爱祢 提交于 2019-12-01 17:37:24

You could hack the JVM binary or u could implement a small binary app to invoke the JVM rather than a batch file; beyond this there's not really a pure java way to do it!

The process in the description column of the Windows task manager is taken from the product name in the version resource that is statically compiled into the executable. An executable has no way to set this description as runtime.

You only option is to create a native wrapper executable that creates a version resource with a configurable name.

exe4j does that, for example. Disclaimer: My company develops exe4j.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!