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
Assuming that what you are really after is a way to terminate the correct the correct process later on, then an alternative solution is this:
Run ps -ef | grep java and you should get a listing that looks something like this:
mruser 7518 7505 4 11:37 pts/3 00:00:00 /usr/bin/java -classpath MRD3030_Linked.jar peralex.MyApp
Then pkill -f peralex.MyApp will kill the correct process.