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
精彩评论