[solved] how to create .exe setup from .jar file

Did you ever write a program in java and want to distribute to others but you don't know how you can develop an excutable setup so each of your friends can know how good you are? Then your problem is solved!!!
After having completed your project in Eclipse, your next goal will be to create a runnable version of your project. The simplest and most standard process for running a Java project is to run an executable file (.exe).
In this tutorial we gonna need three software to create a .exe setup
1. eclipse
2. launch4j
3. smart install maker
But if you don't know how to create .jar using launch4j from eclipse you can study it here

wikihow

In this guide, we'll look at how to use smart install maker to create .exe setup with picture
1. after creating a .jar file using launch4j , now create a desktop new folder and paste in that .jar file. then go to C:\Program Files\Java\jdk1.8.0_51 and copy the jre file and paste to the new desktop folder you craeted. it should look like this

2. Second step is to install the smart install maker and open it, its should look like this

3. Third step, as we can see there are many options according to your setup ccampany name and so on but let stick to major things. GO to files button then click add files and you will browse for the new folder we created on desktop before. you can see under the picture below

4. Fourth step is to specify on which path the files after installation will insall. go to dialogue button then specify your location you want to install EXAMPLE-C:\test


NOTE;

The path you locate here is the path you located in launch4j under the button BUNDLED JRE PATH:

5. The last step is to click the button BUIlD INSTALLER and you're done
.

For any problem on this contact me gwaxhenry@gmail.com or leave a comment

you can now distribute your software ENJOY THE GOOD OF PROGRAMMING!!!

Previous
Next Post »