Creating a Distribution Package of Your Java Application
So you picked up a project and write the code in Java then comes the time to distribute your program. You are going to need to create an installer package rather than distributing it directly as a JAR file.
It is better to give them a normal plain installer package that they know how to run through the wizard.
Geek Stuff Javazing blog has an article on how to do that. Ultimately before youâ€™ll be able to follow the tutorial you going to have to download the following tools:
1. Ant tool.
2. NSIS: a scriptable win32 installer/uninstaller system.
3. ProGuard: java shrinker, optimizer, and obfuscator.
4. Launch4j: Cross-platform Java executable wrapper for creating lightweight Windows native EXEs.
5. NSIS Ant task: to compile NSIS scripts.