Frank Sommers
Posts: 2642
Nickname: fsommers
Registered: Jan, 2002
|
|
Re: Java to Exe
|
Posted: May 4, 2004 10:17 PM
|
|
Actually, there are many reasons to create EXE files. Not all methods compile Java bytecode into native format - some methods simply create an executable wrapper that bootstraps the Java code. There are many uses for it. For instance, we use such an executable for installing Java programs as Windows services, and also to make Java programs work with InstallShield installations. Also, this is useful if you, for instance, want to ensure that only 1 instance of your Java app runs at a time.
I've tried a couple of progams, and found EXE4J to be the easiest to use: http://www.exe4j.com. It costs some money, but is very inexpensive, and is well worth that money, IMO. This lets you create standalone EXEs, Windows services, and even lets you specify that only a single instance run at a time.
|
|