how to change the name of a Java application process?

后端 未结 10 2321
借酒劲吻你
借酒劲吻你 2020-11-27 04:51

When executing a Java application the process name given to it is usually java.exe or javaw.exe. But how can I make it be called by the name of my

10条回答
  •  情话喂你
    2020-11-27 05:14

    Unless you launch Java via JNI in your own custom built executable, the process name will always be java.exe.

    There are several java launchers/wrappers that can generate this executable for you.

    • Launch4j, looks to be the most recent and up to date
    • JSmooth
    • install4J, commercial, more than you need

提交回复
热议问题