> People, when executing a Java application the procces name given to it
> usually java.exe or javaw.exe. But how can I make it be called by the name
> of my application?
>
> Thanks,
> Scirious.
By compiling a native version for windows?
Or, you could copy the jvm and rename the files, although I can't
guarantee that that would work...
Or by making your own executable in C/some other language that compiles
to a native one,
and run the jvm from inside it, and at the end of your main function
return whatever return code java returns...
Scirious - 25 May 2006 14:54 GMT
I found one simple application called launch4j that does the trick. It
seems to create a JNI that calls the JVM. I'm not sure how it works, but it
works.