Odi's astoundingly incomplete notes

New entries | Code

Change java process name

at least under Linux you can do that painlessly from bash:
exec -a myapp java com.example.MyApp

And if you don't want to replace the current shell, execute it in a subshell by using parantheses:
(exec -a myapp java com.example.MyApp)

posted on 2010-04-14 15:19 UTC in Code | 0 comments | permalink