Give java process a name

HI All,

Is it possible to give a name for my java process ? I mean, when I start java applications, they all get the name "java". What i want is iso java.exe as name in the task manager i want to see it a myapp.exe(for example).This must be possible as when we start the eclipse 3.3(Europa) we can see the process name as eclipse in task manager.

Can anybody help me in this regard ?

Thanks. in advance

Siddharth

[443 byte] By [spatnaik77@gmail.coma] at [2007-11-27 11:02:56]
# 1

By writing a wrapper in a native language. (Look up JNI)

Some installers will do this for you.

mlka at 2007-7-29 12:46:30 > top of Java-index,Java Essentials,Java Programming...
# 2

> we can see the process name as eclipse in task manager.

Eclipse is started through an own executable that links to a virtual machine, not through java.exe.

gimbal2a at 2007-7-29 12:46:30 > top of Java-index,Java Essentials,Java Programming...