This is perhaps a really "uh, duhhhh" quesiton, but, I was wondering how I might go about creating a launcher for a program that I am designing. It is not an applet or something that only runs via a webpage, and it is not a simple library file that I will later put into a larger project. It is a "real" java application style program. How might I go about creating an .exe file for it, or an equivalent? I am not interested in checking to see if a java VM exsists, or any other stuff, I plan on doing that manually when I decide I want to install it on a machine. Besides, I must also install a database server, configure it and so on anyway. I am using Eclipse Indigo. Anyone have any ideas?
You could also use nsis. This is an open source installer. With this installer you could do all the pre-installation steps like installing db, check java version and so on. Better automate then do manually and forget steps. You can incorporate the build of the installer in ant.