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
java.exe
javaw.exe
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.