How do I create a Win32 exe from a Java project? I've seen some tools
I have made a small test program.
http://koti.mbnet.fi/akini/java/exewrapper/
You need JavaLauncher from
http://www.syncedit.com/ site to create a exe
wrapper from java application.
There are many wrappers available.
http://www.syncedit.com/
http://jsmooth.sourceforge.net/
http://www.rolemaker.dk/nonRoleMaker/javalauncher/marner_java_launcher.htm
http://www.g0dmode.com/javastuff/bootstrap-1.0.zip
http://sourceforge.net/projects/jpackit/
Then I have seen many "myownjavalauncher.exe" utilities, which does not
wrap java applications inside the exe file as a resource. But just start
apps with java(w).exe or use directly jvm.dll library. These launchers
use a ini file where you can declare mainclass, classpath and so on.
JBuilder.exe is actually this kind of launcher, but don't know if its
publicly available.
I like more launchers, which just use a config file and then invoke apps
to java(w).exe or jvm.dll library. You can then easier patch and update
application because all jars and resource files are available as normal.
For some reason can even use own runMyApp.bat to launch an application
in extreme case.
About the TaskList process name:
Wrappers and launchers using jvm.dll library show a real app name in a
tasklist. Launchers which just do shellexecute on java(w).exe are seen
as java.exe process.
Its possible to change name if you copy java.exe and rename it to
MyApp.exe, but I don't know if thats legal thing to do.