We, the Java developers, develop softwares using Java because of it’s platform independency . Though now-a-days JDK is available to users,we usually provide JAR file of the software to the user.So, users can start it with only a double click. But still some windows users prefere .exe version of that software. So, now I am going to tell you about a software by which we can convert a .jar file to .exe for windows user.
Before starting this we must read these two posts carefully.
We will use Jar to exe convert wizard 1.8 to convert our jar files to exe.
Step 1 : Install the software and run the wizard.
Step 2: Browse project.jar and press next.
Step 3: Select Console application or Windows gui application
Step 4: Select the Main class from where the software will start and keep “select a picture for splash window” blank.
Step 5: enable Support System tray and disable all others disable. [or, you can change as your requirements.]
Step 6: Add others Jars you have used like mysql-connector.jar . Usually these are on project/dist/lib/ if you are using Netbeans IDE.
Step 6: press Next and Finish.
Step 7 : We got the converted exe file of our jar file.
Thanks for reading this post.