posted 23 years ago
At work we use a product called InstallSheild that bundles up the class files, our own copy of the JRE (to protect the application against user upgrades and damaging the generic java stuff), any properties files, image files, icons etc. It makes an executable out of the above, and when the user downloads the thing and double clicks it, a standard install routine is invoked that allows the user to specify the directory, and modifies the bat file with the chosen directory as it drops them in place. It also allows you to have a deploy routine to do stuff like set up an Icon, and put the application in the Start Menu etc.
There are other products besides that one available also.
"JavaRanch, where the deer and the Certified play" - David O'Meara