开发者

how to change the process name of a Java application

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 in window. I can't use http://launch4j.sourceforge.net/ because I want to run this jar on server.


make exe with jsmooth , that provide you option to create separate process


Copy your java.exe as customName.exe (and put it in the same location where your java.exe is) and run your program as

customName com.something.something.MyClass
instead of
java com.something.something.MyClass

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜