how to change the name of a Java application process?
问题 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 application? 回答1: These methods are suited for servers with a lot of java processes running, and where you need a quick way of finding the correct jvm (not using jps.) For applications, I suppose launch4j or another wrapper is the way to go. On unix, If you are launching from a shell sript (at least for bash and possibly for other decent shells)